Ignore a file globally in git


Set up a global .gitignore:
git config --global core.excludesfile ~/.gitignore_global
Put the file name in the global gitignore file:
echo ".DS_Store" >> ~/.gitignore_global
Done!

2 comments:

  1. Your articles are very well written and unique.
    mediaonlines.com

    ReplyDelete
  2. Increasing the speed of these pages will usually give a quick boost.
    xenforo ban user

    ReplyDelete