i am rohn

thoughtfully linking code

Ignore Git Globally

An easy to understand introduction to global .gitignores. And for some samples check out this github repo.
This is a great alternative (and the right way of doing it) to adding OS specific files to every project’s .gitignore file. No longer will my coworkers need to roll their eyes at me when I add .DS_Store to our .gitignore in the repo (and maybe I can get them to stop littering the repo with Thumbs.db files too).

The official github help page.