`git commit -v` see what you're committing
adding -v to the git commit command shows you the diff of what you're committing in the text editor where you write the commit message.
This is very useful for sanity-checking what you're committing.
Unless of course, you write the commit message using -m, then the -v flag will be pretty useless.
Written by Hasen el Judy
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#