Git: Quick code review
To do a quick command-line code review of changes:
git diff master -U20 -b
or added to ~/.gitconfig
[alias]
review = diff master -U20 -b
Will ignore white-space-only changes and give a bigger context.
Written by Karsten Silkenbäumer
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#