Add .gitattributes to normalize line endings
This commit is contained in:
parent
883c6762c4
commit
f0ef8a1cbd
19
.gitattributes
vendored
Normal file
19
.gitattributes
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Set the default behavior, in case people don't have core.autocrlf set.
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# Files with Unix line endings
|
||||||
|
*.c text eol=lf
|
||||||
|
*.cpp text eol=lf
|
||||||
|
*.h text eol=lf
|
||||||
|
*.ino text eol=lf
|
||||||
|
*.py text eol=lf
|
||||||
|
*.sh text eol=lf
|
||||||
|
|
||||||
|
# Files with native line endings
|
||||||
|
# *.sln text
|
||||||
|
|
||||||
|
# Binary files
|
||||||
|
*.png binary
|
||||||
|
*.jpg binary
|
||||||
|
*.fon binary
|
||||||
|
|
Loading…
Reference in a new issue