Definir git global ignorar

touch ~/.gitignore
git config --global core.excludesfile ~./gitignore
Calm Chinchilla