Skip to content

Commit d437320

Browse files
Update .gitattributes (dotnet#10285)
1 parent e4731a0 commit d437320

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.gitattributes

+11-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
###############################################################################
44
* text=auto
55

6+
# Explicitly declare text files you want to always be normalized and converted
7+
# to native line endings on checkout.
8+
*.cs text
9+
*.cshtml text
10+
11+
# Declare files that will always have CRLF line endings on checkout.
12+
*.sln text eol=crlf
13+
614
###############################################################################
715
# Set default behavior for command prompt diff.
816
#
@@ -40,9 +48,9 @@
4048
#
4149
# image files are treated as binary by default.
4250
###############################################################################
43-
#*.jpg binary
44-
#*.png binary
45-
#*.gif binary
51+
*.jpg binary
52+
*.png binary
53+
*.gif binary
4654
*.ico binary
4755

4856
###############################################################################

0 commit comments

Comments
 (0)