Skip to content

Instantly share code, notes, and snippets.

@sambfreund
Created August 23, 2016 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sambfreund/8f911f2d33c2e200353a23c3214810d3 to your computer and use it in GitHub Desktop.
Save sambfreund/8f911f2d33c2e200353a23c3214810d3 to your computer and use it in GitHub Desktop.
alias.addnw=!sh -c 'git diff -U0 -w --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero -'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment