Created
May 29, 2015 18:59
-
-
Save tburry/7ce1f8ce04e215cffd20 to your computer and use it in GitHub Desktop.
Normalize all line endings in the current git repo to the config setting.
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
# Normalize all line endings in the current repo to the config setting. | |
git rm --cached -rf . | |
git diff --cached --name-only -z | xargs -n 50 -0 git add -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment