I know it is possible to ignore a directory or file from git diff
using git diff !(example)
, as shown here.
Is this possible when using git commit -v
?
I know it is possible to ignore a directory or file from git diff
using git diff !(example)
, as shown here.
Is this possible when using git commit -v
?
As long as they are on the index they will appear on the commit -v message.
You can either add them to .gitignore (but I don't think that is what you want), or manually remove the unwanted comments for each commit.