Skip to content

Instantly share code, notes, and snippets.

@daftAnorak
Created February 21, 2017 20:23
Show Gist options
  • Save daftAnorak/78d6f30c6ca468784f9f7f4c3d5b97f4 to your computer and use it in GitHub Desktop.
Save daftAnorak/78d6f30c6ca468784f9f7f4c3d5b97f4 to your computer and use it in GitHub Desktop.
Personal Configuration for new Git repo
# convert all text files to unix-style
* text eol=lf
# configure as text files
*.css text
*.eslintignore text
*.eslintrc text
*.foreverignore text
*.gitattributes text
*.gitignore text
*.htaccess text
*.html text
*.java text
*.js text
*.json text
*.log text
*.md text
*.properties text
*.scss text
*.sh text
*.svg text
*.txt text
*.xml text
*.yaml text
*.yml text
# configure as binary files
*.gif binary
*.ico binary
*.idx binary
*.jpg binary
*.pack binary
*.pdf binary
*.pid binary
*.png binary
*.sample binary
*.tar binary
*.tgz binary
*.woff binary
*.woff2 binary
# !/bin/bash
git config core.filemode false
git config core.autocrlf false
git config core.eol "lf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment