Skip to content

Instantly share code, notes, and snippets.

@bevacqua
Forked from dhrrgn/.gitattributes
Created July 9, 2013 02:37
Show Gist options
  • Save bevacqua/5954258 to your computer and use it in GitHub Desktop.
Save bevacqua/5954258 to your computer and use it in GitHub Desktop.
# Ensures all line endings are committed as LF, but will checkout with native line endings
* text=auto
# -- Override Section, just in-case Git tries to be sneaky
# Ensure that these files are recognized as text
*.asp text
*.aspx text
*.asx text
*.css text
*.erb text
*.erl text
*.go text
*.hs text
*.html text
*.js text
*.jsp text
*.less text
*.md text
*.markdown text
*.php text
*.pl text
*.py text
*.rb text
*.rhtml text
*.rjs text
*.sass text
*.scss text
*.svg text
*.textile text
*.txt text
*.xml text
Procfile text
# Ensure that these binarys are, well, binary
*.bmp binary
*.gif binary
*.jpeg binary
*.jpg binary
*.png binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment