added a basic .gitattributes file

This commit is contained in:
Gerad Munsch 2023-01-25 10:16:36 -06:00
parent 38ea910e0c
commit 96d276638f

32
.gitattributes vendored Normal file
View file

@ -0,0 +1,32 @@
#
# .gitattributes
#
## GENERIC ##
* text=auto
## SOURCE CODE ##
*.c eol=lf diff=cpp
*.h eol=lf diff=cpp
*.cpp eol=lf diff=cpp
*.hpp eol=lf diff=cpp
## SCRIPTS ##
*.sh eol=lf
*.py eol=lf diff=python
*.ld eol=lf
Makefile eol=lf
*.mk eol=lf
*.make eol=lf
*.makefile eol=lf
## TEXT & MARKUP ##
*.txt eol=crlf
*.md eol=crlf diff=markdown