Skip to content

Commit

Permalink
Add gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
IanDelMar committed Oct 19, 2020
1 parent 894bdc0 commit 720b877
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Explicitly declare text files that will always be normalized and converted
# to native line endings on checkout.
.browserslistrc text
.editorconfig text
.gitattributes text
.gitignore text
.jscsrc text
.jshintignore text
*.css text
*.js text
*.json text
*.map text -diff
*.md text
*.txt text
*.xml text
*.yml text

# Declare files that will always have LF line endings on checkout.
*.php text eol=lf

# Denote all files that are truly binary and should not be modified.
*.jpg binary
*.png binary
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
# but track
!.browserslist
!.editorconfig
!.gitattributes
!.gitignore
!.jscsrc
!.jshintignore
Expand Down

0 comments on commit 720b877

Please sign in to comment.