From: Matthieu Moy Date: Mon, 04 Mar 2013 13:53:59 GMT Subject: Re: Configurable .gitignore filename? Message-ID: In-Reply-To: Jari Pennanen writes: > If project or directory belongs to more than one GIT_DIR then some of > the GIT_DIR's may need a different .gitignore files, it would be > useful if one could define it independently, e.g. in GIT_DIR/config: > > [core] > ignorefilename = .gitalternateignore There is already core.excludesfile, which does not replace the usual .gitignore but comes in addition. The common use is a user-wide ignore file, not a per-directory one. -- Matthieu Moy http://www-verimag.imag.fr/~moy/