Skip to content

Commit

Permalink
Improved .gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fengyuan Chen committed Dec 5, 2015
1 parent 3e7ee3f commit 6ce22df
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
# Automatically normalize line endings for all text-based files
# http://git-scm.com/docs/gitattributes#_end_of_line_conversion
* text=auto

# For the following file types, normalize line endings to LF on
# checkin and prevent conversion to CRLF when they are checked out
# (this is required in order to prevent newline related issues like,
# for example, after the build script is run)
.* text eol=lf
*.css text eol=lf
*.html text eol=lf
*.js text eol=lf
*.json text eol=lf
*.md text eol=lf
*.sh text eol=lf
*.txt text eol=lf
*.xml text eol=lf

0 comments on commit 6ce22df

Please sign in to comment.