Skip to content

Instantly share code, notes, and snippets.

@overtrue
Created May 31, 2016 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save overtrue/8a1f85c61ba34601f14649260e656839 to your computer and use it in GitHub Desktop.
Save overtrue/8a1f85c61ba34601f14649260e656839 to your computer and use it in GitHub Desktop.
global gitignore
# 设置方法:
# git config --global core.excludesfile ~/.gitignore_global
#compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# codekit #
###########
.sass-cache/
.codekit-config.json
config.codekit
@overtrue
Copy link
Author

设置全局大小写敏感:

$ git config --global core.ignorecase false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment