Display diff in commit message

When someone makes a use commit -a, a default editor appears, populated with the contents of the command git status(but with all lines preceding the pound sign).

Is it possible for the git diffeditor to populate the output instead of the content git status?

+3
source share
1 answer

Yes, this was made possible by using the flag --verbose; your full team then becomes git commit -a --verbose, or, more concise git commit -av.

+2
source

All Articles