Skip to content

Instantly share code, notes, and snippets.

@haipeng
Last active September 18, 2017 07:10
Show Gist options
  • Save haipeng/4e3eaea59d8123529954fa6034cbaa01 to your computer and use it in GitHub Desktop.
Save haipeng/4e3eaea59d8123529954fa6034cbaa01 to your computer and use it in GitHub Desktop.
git global ignore
# Node
npm-debug.log
node_modules
# Mac
.DS_Store
# Windows
Thumbs.db
# WebStorm
.idea/
# vi
*~
# General
log/
*.log
# etc...
git config --global core.excludesfile '~/.gitignore'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment