Skip to content

Instantly share code, notes, and snippets.

@CamiloBernal
Created May 20, 2016 14:27
Show Gist options
  • Save CamiloBernal/8051db880738d4924fee9f2efc15fbfd to your computer and use it in GitHub Desktop.
Save CamiloBernal/8051db880738d4924fee9f2efc15fbfd to your computer and use it in GitHub Desktop.
# 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.
# Declare files that will always have LF line endings on checkout.
*.c text eol=lf
*.css text eol=lf
*.cpp text eol=lf
.editorconfig text eol=lf
.gitattributes text eol=lf
.gitignore text eol=lf
.gitmodules text eol=lf
*.gyp text eol=lf
*.h text eol=lf
*.hpp text eol=lf
*.js text eol=lf
*.json text eol=lf
LICENSE text eol=lf
*.md text eol=lf
node-sass text eol=lf
*.sass text eol=lf
*.scss text eol=lf
*.svg text eol=lf
# Declare files that will always have CRLF line endings on checkout.
*.bat text eol=crlf
*.cmd text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.gif binary
*.jpg binary
*.node binary
*.png binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment