Subject: Re: "exclude" and ".gitignore" for everyone

From: Matthieu Moy <[email-masked]>
Date: Mon, 01 Jun 2009 16:36:30 +0200

Brian Gernhardt <[email-masked]> writes:

>  Generally, I'd suggest putting [...] your editor's garbage in
> exclude.

better: put them in a user-wide ignore file.

in ~/.gitconfig:

[core]
        excludesfile = /home/yourlogin/.gitignore

then put whatever you want in $HOME/.gitignore.

-- 
Matthieu