Merge pull request #8029 from SomberNight/202210_git_eol
add .gitattributes file for end-of-line normalisation
This commit is contained in:
12
.gitattributes
vendored
Normal file
12
.gitattributes
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# Auto detect text files and perform end-of-line normalization (to LF)
|
||||
* text=auto
|
||||
|
||||
# These Windows files should have CRLF line endings in checkout
|
||||
*.bat text eol=crlf
|
||||
*.ps1 text eol=crlf
|
||||
|
||||
# Never perform LF normalization on these files
|
||||
*.ico binary
|
||||
*.jar binary
|
||||
*.png binary
|
||||
*.zip binary
|
||||
Reference in New Issue
Block a user