Last Updated: February 25, 2016
·
764
· marcinbunsch

See full diff in comment when commiting in git

To see a full diff, you need to run commit with the -v flag, like this

git commit -v

A good default solution is to alias this as git ci. And it's shorter to type.

git config --global "alias.ci" "commit -v"

Afterwards, to commit all you need it is:

git ci