- Open Terminal.
- Enter the following command in your terminal:
git config --global core.excludesfile ~/.gitignore_global
### OSX ### | |
.DS_Store | |
.DS_Store? | |
.AppleDouble | |
.LSOverride | |
# Icon must end with two \r | |
Icon | |
# Thumbnails | |
._* | |
ehthumbs.db | |
Thumbs.db | |
# Files that might appear on external disk | |
.Spotlight-V100 | |
.Trashes | |
# Directories potentially created on remote AFP share | |
.AppleDB | |
.AppleDesktop | |
Network Trash Folder | |
Temporary Items | |
.apdisk | |
### Logs & Databases ### | |
*.log | |
*.sql | |
*.sqlite | |
### 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 | |
### Compiled Source ### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
### SublimeText ### | |
# cache files for sublime text | |
*.tmlanguage.cache | |
*.tmPreferences.cache | |
*.stTheme.cache | |
# workspace files are user-specific | |
*.sublime-workspace | |
# project files should be checked into the repository, unless a significant | |
# proportion of contributors will probably not be using SublimeText | |
# *.sublime-project | |
# sftp configuration file | |
sftp-config.json | |
### Node ### | |
# Logs | |
logs | |
# Runtime data | |
pids | |
*.pid | |
*.seed | |
# Directory for instrumented libs generated by jscoverage/JSCover | |
lib-cov | |
# Coverage directory used by tools like istanbul | |
coverage | |
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | |
.grunt | |
# node-waf configuration | |
.lock-wscript | |
# Compiled binary addons (http://nodejs.org/api/addons.html) | |
build/Release | |
# Dependency directory | |
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git | |
node_modules | |
### Bower ### | |
bower_components | |
.bower-cache | |
.bower-registry | |
.bower-tmp | |
### grunt ### | |
# Grunt usually compiles files inside this directory | |
dist/ | |
# Grunt usually preprocesses files such as coffeescript, compass... inside the .tmp directory | |
.tmp/ | |
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | |
.grunt | |
### Sass ### | |
.sass-cache | |
*.css.map | |
### Tyfoon & Postman ### | |
tyfoon/ | |
postman/ | |
postman*/ | |
### Project Notes ### | |
notes.md |
git config --global core.excludesfile ~/.gitignore_global