Skip to content

Commit 9effe29

Browse files
authored
Adding .gitattributes (flutter#32)
This ensures correct line endings for commits from all platforms.
1 parent 354ec39 commit 9effe29

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.gitattributes

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Always perform LF normalization on these files
5+
*.dart text
6+
*.gradle text
7+
*.html text
8+
*.java text
9+
*.json text
10+
*.md text
11+
*.py text
12+
*.sh text
13+
*.txt text
14+
*.xml text
15+
*.yaml text
16+
17+
# Make sure that these Windows files always have CRLF line endings in checkout
18+
*.bat text eol=crlf
19+
*.ps1 text eol=crlf
20+
21+
# Never perform LF normalization on these files
22+
*.ico binary
23+
*.jar binary
24+
*.png binary
25+
*.zip binary

0 commit comments

Comments
 (0)