Skip to content

Instantly share code, notes, and snippets.

@obfusk
Created October 7, 2019 21:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save obfusk/9086bbb1c5511f86801dd1a7b1792f8a to your computer and use it in GitHub Desktop.
Save obfusk/9086bbb1c5511f86801dd1a7b1792f8a to your computer and use it in GitHub Desktop.
diff the + and - parts of a diff; useful when moving things around
grc diff -Naur <( git diff | grep ^- | cut -c2- ) <( git diff | grep ^+ | cut -c2- )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment