Re: [PATCH] config: Rummage through ~/.gitrc as well as the repository's config.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 4, 2006, 01:15 UTC
- Message-ID
- <7vacd7c4bm.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060203203332.2718.13451.stgit@metalzone.distorted.org.uk>
Mark Wooding <mdw@distorted.org.uk> writes:
> I'm fed up of setting user.email in every repository I own.
That is what --template-dir to init-db is for (it works in an already initialized git repository, but it does not overwrite files).
> I want to put this somewhere central, and I shouldn't have to > log in again to make it take effect.
I do not understand about logging in again. If you are talking about environment variables, ". ~/.env" would work nicely.