Skip to content

Commit

Permalink
Add .gitattributes to determine line-endings behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
augustoproiete committed Sep 15, 2015
1 parent 7bbb586 commit 073467e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Set the default behavior, in case people don't have core.autocrlf set
* text=auto

# Explicitly declare files that should always be normalized and converted to native line endings on checkout
*.sln text
*.csproj text
*.cs text
*.cshtml text
*.js text
*.css text
*.config text
*.resx text
*.xaml text
*.settings text
*.sql text
*.md text

# Explicitly declare files that should always be converted to LF regardless of platform
*.dotsettings text eol=lf

# Explicitly declare files that should to be handled as binaries
*.jpg binary
*.jpeg binary
*.gif binary
*.png binary
*.exe binary
*.dll binary
*.nupkg binary
*.ttf binary
*.eof binary
*.eot binary

0 comments on commit 073467e

Please sign in to comment.