Last active
September 20, 2022 06:07
-
-
Save neuralpain/8b1ab2c036db6a07e1cb225fe1fd9906 to your computer and use it in GitHub Desktop.
Bug fix for GitHub desktop changing line endings from LF to CRLF
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
# fix issue with GitHub desktop changing line endings from LF to CRLF | |
# go to Repository -> Open in {terminal} | |
# execute the code below in the exact order | |
git config core.eol lf | |
git config core.autocrlf input |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment