Created
January 30, 2014 10:48
-
-
Save cedricwalter/8706188 to your computer and use it in GitHub Desktop.
GIT recommended settings
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
# Set default behaviour, in case users don't have core.autocrlf set. | |
* text=auto | |
# Explicitly declare text files we want to always be normalized and converted | |
# to native line endings on checkout. | |
*.java text | |
*.xml text | |
*.xsl text | |
*.csv text | |
*.conf text | |
*.properties text | |
*.jsp text | |
*.css text | |
*.scss text | |
*.svg text | |
*.js text | |
*.html text | |
*.episode text | |
*.xsd text | |
*.dtd text | |
# Denote all files that are truly binary and should not be modified. | |
*.png binary | |
*.jpg binary | |
*.gif binary | |
*.zip binary | |
*.jar binary | |
*.doc binary | |
*.docx binary | |
*.dot binary | |
*.xls binary | |
*.otf binary | |
*.eot binary | |
*.ttf binary | |
*.ttf binary | |
*.woff binary | |
# Custom for Visual Studio | |
*.cs diff=csharp | |
*.sln merge=union | |
*.csproj merge=union | |
*.vbproj merge=union | |
*.fsproj merge=union | |
*.dbproj merge=union | |
*.doc diff=astextplain | |
*.DOC diff=astextplain | |
*.docx diff=astextplain | |
*.DOCX diff=astextplain | |
*.dot diff=astextplain | |
*.DOT diff=astextplain | |
*.pdf diff=astextplain | |
*.PDF diff=astextplain | |
*.rtf diff=astextplain | |
*.RTF diff=astextplain | |
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
### Eclipse | |
.project | |
.metadata | |
bin/ | |
tmp/ | |
*.tmp | |
*.bak | |
*.swp | |
*~.nib | |
local.properties | |
.classpath | |
.project | |
.settings/ | |
.loadpath | |
.externalToolBuilders/ | |
*.launch | |
### IDEA | |
*.ipr | |
*.iws | |
*.iml | |
### Maven | |
target/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://help.github.com/articles/dealing-with-line-endings
http://git-scm.com/docs/gitignore