Created
October 18, 2023 15:16
-
-
Save DorkNstein/377edf200e33a3e40ccb80592c8fe32f to your computer and use it in GitHub Desktop.
[Git] CRLF will be replaced by LF
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
$ git config --global core.autocrlf input # Configure Git on OS X to properly handle line endings | |
$ git rm --cached -r . && git reset --hard # Warning, your local changes will be lost, so commit FIRST |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment