Skip to content

Instantly share code, notes, and snippets.

@bryanforbes
Created May 10, 2013 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanforbes/5554878 to your computer and use it in GitHub Desktop.
Save bryanforbes/5554878 to your computer and use it in GitHub Desktop.
# Set the default behavior, in case users don't have core.autocrlf set
* text=auto
# Files that should always be normalized and converted to native line
# endings on checkout.
*.js text
*.json text
*.htm text
*.html text
*.svg text
*.txt text
*.xml text
*.xsl text
*.dtd text
*.css text
*.rest text
*.md text
*.php text
*.phps text
*.inc text
*.sh text
*.styl text
*.less text
Makefile text
README text
CHANGELOG text
LICENSE text
INSTALL text
BUILD text
# Files that are truly binary and should not be modified
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.jar binary
*.zip binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment