forked from flutter/samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a .gitattributes file (flutter#929)
Automatically convert EOL to line feed to make Windows development of codelabs easier. Inspiration from https://github.com/flutter/flutter/blob/master/.gitattributes
- Loading branch information
1 parent
43ce023
commit 97010f5
Showing
1 changed file
with
39 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,39 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# Always perform LF normalization on these files | ||
*.c text | ||
*.cc text | ||
*.cmake text | ||
*.dart text | ||
*.gradle text | ||
*.h text | ||
*.html text | ||
*.java text | ||
*.json text | ||
*.md text | ||
*.py text | ||
*.sh text | ||
*.swift text | ||
*.txt text | ||
*.xml text | ||
*.yaml text | ||
|
||
# Make sure that these Windows files always have CRLF line endings in checkout | ||
*.bat text eol=crlf | ||
*.ps1 text eol=crlf | ||
*.rc text eol=crlf | ||
*.sln text eol=crlf | ||
*.props text eol=crlf | ||
*.vcxproj text eol=crlf | ||
*.vcxproj.filters text eol=crlf | ||
# Including templatized versions. | ||
*.sln.tmpl text eol=crlf | ||
*.props.tmpl text eol=crlf | ||
*.vcxproj.tmpl text eol=crlf | ||
|
||
# Never perform LF normalization on these files | ||
*.ico binary | ||
*.jar binary | ||
*.png binary | ||
*.zip binary |