Tweak git ignore and attributes (#618)
* Update .gitignore Avoid unwanted system files. * Create .gitattributes Enforce preferred line ending style.
This commit is contained in:
13
.gitattributes
vendored
Normal file
13
.gitattributes
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# Set the default behavior, in case people don't have core.autocrlf set.
|
||||
* text=auto
|
||||
|
||||
# Files that will always have UNIX line-endings LF rather than Windows-style CRLF.
|
||||
*.css text eol=lf
|
||||
*.js text eol=lf
|
||||
*.md text eol=lf
|
||||
*.svg text eol=lf
|
||||
*.xml text eol=lf
|
||||
|
||||
# Denote all files that are truly binary and should not be modified.
|
||||
# (binary is a macro for -text -diff)
|
||||
*.png binary
|
8
.gitignore
vendored
8
.gitignore
vendored
@@ -1 +1,9 @@
|
||||
# OS files #
|
||||
._*
|
||||
.DS_Store
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
Thumbs.db
|
||||
|
||||
# Other files #
|
||||
/node_modules/
|
||||
|
Reference in New Issue
Block a user