-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add .gitattributes to determine line-endings behavior
- Loading branch information
1 parent
7bbb586
commit 073467e
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
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
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 |