Gitignore (Global) This file is used to configure global gitignore settings. Check with: git config --global core.excludesFile Set with: cp .gitignore ~/.gitignore git config --global core.excludesFile '~/.gitignore'