Last active
June 9, 2020 16:12
-
-
Save StudioLE/b24da96391aab6d320c9a3e36b761ea8 to your computer and use it in GitHub Desktop.
Renormalize all line endings
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
echo "* text=auto" >.gitattributes | |
git add --renormalize . | |
git commit -m "Renormalized end-of-line" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use this to fix on Windows:
https://stackoverflow.com/questions/9976986/force-lf-eol-in-git-repo-and-working-copy/42135910#42135910