Stop git from changing line endings on Windows and add support for editorconfig in vim
This commit is contained in:
5
.gitattributes
vendored
Normal file
5
.gitattributes
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# All text files will have LF line endings, except batch files.
|
||||
* text=auto
|
||||
|
||||
# Preserve crlf in batch files when checking in.
|
||||
*.bat text eol=crlf
|
||||
Reference in New Issue
Block a user