Skip to content

Instantly share code, notes, and snippets.

@cedricwalter
Created January 30, 2014 10:48
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cedricwalter/8706188 to your computer and use it in GitHub Desktop.
Save cedricwalter/8706188 to your computer and use it in GitHub Desktop.
GIT recommended settings
# 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
### 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