Last Updated: February 25, 2016
·
691
· tomjakubowski

reference diff of changes when writing commit message

to see the diff of your changes while editing a commit message, simply pass -v to git-commit:

git commit -v

The diff will be shown in the editor, but not added to the final commit message.

Picture

Picture