Skip to content

Instantly share code, notes, and snippets.

@CaptainJiNX
Created May 11, 2017 18:50
Show Gist options
  • Save CaptainJiNX/15730b389fa05c71ffec262019196e72 to your computer and use it in GitHub Desktop.
Save CaptainJiNX/15730b389fa05c71ffec262019196e72 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