Skip to content

Commit

Permalink
GitAttributes for Line Endings
Browse files Browse the repository at this point in the history
  • Loading branch information
benjchristensen committed Dec 8, 2013
1 parent c2709b3 commit 4782588
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 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.
*.java text
*.groovy text
*.scala text
*.clj text
*.txt text
*.md text

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

0 comments on commit 4782588

Please sign in to comment.