Skip to content

Commit

Permalink
Add .gitattributes to handle line endings on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Aug 22, 2017
1 parent a4be95f commit 2849b1c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 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.
*.cc text
*.h text
*.proto text
*.txt text
*.md text
Makefile text
LICENSE text

0 comments on commit 2849b1c

Please sign in to comment.