Created
February 13, 2017 12:23
-
-
Save robertaarcoverde/0bced84ec6e2cb15baeee62ae0b2c6fa to your computer and use it in GitHub Desktop.
Git: stage everything but whitespaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff -w | git apply --cached --ignore-whitespace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment