retrography
9/21/2015 - 9:37 PM

The additions between two commits in git

The additions between two commits in git

git diff 4ce3aad2428b4d6e2e0a6eac743cfda190cd88eb 2279001c8ff1acc156637d8d7eb4e9c81b198ea8 | grep '^+' | gsed -r -e 's/^\+\+\+ b(.*)$/\n\1\n/' -e 's/^\+//'