Forked from neilgoldman/git-add-ignore-space-at-eol.sh
Created
March 1, 2024 21:01
-
-
Save mokolabs/54473f7b46cf67e73c953c6986ed407f to your computer and use it in GitHub Desktop.
Git Add But Ignore Whitespace
This file contains hidden or 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 --no-color | git apply --cached --ignore-whitespace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment