Skip to content

Commit

Permalink
Git: enforce Unix-style LF newline
Browse files Browse the repository at this point in the history
  • Loading branch information
jsalonen committed Aug 7, 2014
1 parent bee16eb commit f6c3d79
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Autodetect text files, normalize to LF on commit
* text=auto

# Explicitly define files which should be LF when checked out and on commit
*.md text eol=lf
*.py text eol=lf
*.sh text eol=lf
*.yml text eol=lf
*.sql text eol=lf
*.xml text eol=lf
*.xsd text eol=lf
*.css text eol=lf
*.js text eol=lf
*.pem text eol=lf
LICENSE text eol=lf
README text eol=lf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.gif binary
*.ttf binary
*.swf binary
*.zip binary
*.sqlite binary
*.jar binary
2 changes: 0 additions & 2 deletions .gitconfig

This file was deleted.

0 comments on commit f6c3d79

Please sign in to comment.