Skip to content

Commit

Permalink
Added .gitattributes to ensure that line endings will be adjusted aut…
Browse files Browse the repository at this point in the history
…omatically for all text files.
  • Loading branch information
rimas-kudelis committed Mar 10, 2013
1 parent 30f8e5b commit 2b72b28
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitattributes
@@ -0,0 +1,13 @@
# 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.
*.php text
*.conf text
*.txt text
*.sql text
*.pl text

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

0 comments on commit 2b72b28

Please sign in to comment.