Last active
April 16, 2019 02:51
-
-
Save guitarrapc/56efb57ae468d0c2db624ead354172a9 to your computer and use it in GitHub Desktop.
Force `LF` End of line (EOL) for Windows. Even git config specify autocrlf=true, but repository force to be LF via smudge filter.
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
# EditorConfig is awesome: http://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
charset = utf-8 | |
end_of_line = lf |
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
* text=auto eol=lf | |
*.jpg binary | |
*.png binary |
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
[core] | |
autocrlf=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
or core.autocrlf=false with editorconfig.
https://gist.github.com/starise/a35b04a31cccc8538d4718325ffe6b48