Created
April 23, 2021 18:32
-
-
Save asolera/ebc3b4f3fa2c085d27865f2820624ae2 to your computer and use it in GitHub Desktop.
Fix CRLF git problems
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
#!/bin/bash | |
# https://stackoverflow.com/questions/1967370/git-replacing-lf-with-crlf | |
git config --global core.autocrlf false | |
git rm --cached -r . | |
git reset --hard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment