Skip to content

Instantly share code, notes, and snippets.

@seancoyne
Created April 9, 2015 17:26
Show Gist options
  • Save seancoyne/2f58d0e795e100cf2dff to your computer and use it in GitHub Desktop.
Save seancoyne/2f58d0e795e100cf2dff to your computer and use it in GitHub Desktop.
stage (git add) only non-whitespace changes
git add `git diff -w |grep '^+++' |cut -c7-`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment