Global .gitignore
Git supports global ignores, so we can tell git to ignore some files for every repository.
Create the global .gitignore with:
git config --global core.excludesfile ~/.gitignore
and then add to this file some rules likes
.DS_Store
nbproject
....
Written by Edoardo Rivello
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#