diff
Wednesday, January 17, 2018
6:04 AM
#compare commits
git diff SHA
#returns all the differences between current directory and selected SHA
git diff SHA [file]
#returns a particular difference
#range
git diff SHA1..SHA2
#can pass any of the tree-ish 
#many more modifiers and 
#-b  is equiv to --ignore-space-change
and -w --ignore-all-space
ex:
git diff --ignore-all-space 1506576..HEAD
git diff -w..HEAD
#--color-words
git diff --color-words new_feature..shorten_title
git