git global ingnore

git config --global core.excludesfile '~/.gitignore'
Careful Constrictor