Skip to content

Commit

Permalink
Add gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Jul 25, 2022
1 parent a16a11a commit f51d799
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.c text
*.h text
*.py text
*.md text
*.js text
*.cpp 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
*.pdf binary

0 comments on commit f51d799

Please sign in to comment.