/global-gitignore-common

some commonly ignored files & folders that are considered (by most) a best practice when collaborating on a repository so that changes are focused only on necessary code changes rather than development environment unless necessary and required.

How to setup a global ignore file

Mac

  1. move the .gitignore file in this repo into ~ directory in command line
  2. then perform this command git config --global core.excludesfile ~/.gitignore
  3. verify if files are properly ignored now, if still not try start up a new terminal and try again.

Windows

more detail on windows side in above article

#Reference