Created
July 20, 2017 12:37
-
-
Save danielpereirabp/22d98613a2dec74e01ed4c7e42f64c3b to your computer and use it in GitHub Desktop.
Disable “LF will be replaced by CLRF” warning in Git on Windows
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
If you’ve ever used Git in windows, you may have seen something like this every time you add files to Git: | |
warning: LF will be replaced by CRLF in www/index.html. | |
The file will have its original line endings in your working directory. | |
warning: LF will be replaced by CRLF in www/templates/dash.html. | |
The file will have its original line endings in your working directory. | |
If you want to turn it off, type this: | |
git config --global core.safecrlf false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment