Skip to content

Commit

Permalink
Add .gitattributes to normalize line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Apr 2, 2017
1 parent 883c676 commit f0ef8a1
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

# 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

0 comments on commit f0ef8a1

Please sign in to comment.