Skip to content

Instantly share code, notes, and snippets.

@budius
Last active November 15, 2019 11:03
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 budius/2cf2ff126f3091f49bef3a93b6fefbb2 to your computer and use it in GitHub Desktop.
Save budius/2cf2ff126f3091f49bef3a93b6fefbb2 to your computer and use it in GitHub Desktop.
Remove white spaces from GIT
git diff -w --no-color | git apply --cached --ignore-whitespace && git checkout -- . && git reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment