Skip to content

Commit

Permalink
Create .gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
olliw42 committed Dec 2, 2013
1 parent 82a664a commit b9823f1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# https://help.github.com/articles/dealing-with-line-endings


# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto


# Explicitly declare text files we 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.
*.bat text eol=crlf
*.md text eol=crlf


# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.zip binary

0 comments on commit b9823f1

Please # to comment.