Add .gitattributes to force git not changing line endings for developers

This commit is contained in:
swevictor 2023-08-17 12:04:10 +02:00
parent 63b6bb4ca3
commit 61427224a0

14
.gitattributes vendored Normal file
View file

@ -0,0 +1,14 @@
# Set the LF line ending default behavior also on Windows, in case core.autocrlf is not set.
* text eol=lf
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
#*.c text
#*.h text
# Declare files that will always have CRLF line endings on checkout.
#*.sln text eol=crlf
# Denote all files that are truly binary and should not be modified.
#*.png binary
#*.jpg binary