Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Commit

Permalink
Updated .gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fengyuan Chen committed Dec 6, 2015
1 parent 9be6a3f commit 9942fb0
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Auto detect text files and perform LF normalization

# 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 9942fb0

Please sign in to comment.