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
Written by Marcin Bunsch
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Visual
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#