Created
July 31, 2017 20:29
-
-
Save dvnguyen/0837e68040f559976f38c94f1f4c2811 to your computer and use it in GitHub Desktop.
Boilerplate .gitattributes template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automatically normalize line endings for all text-based files | |
# https://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 | |
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
# Exclude the `.htaccess` file from GitHub's language statistics | |
# https://github.com/github/linguist#using-gitattributes | |
dist/.htaccess linguist-vendored |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment