Re: [PATCH] config: introduce GIT_GLOBAL_CONFIG to override ~/.gitconfig
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 27, 2012, 19:57 UTC
- Message-ID
- <7vtxujp7c6.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20120927173532.GD1547@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> Also, have you considered using a config include? Like: > > $ echo '[include]path = ~/my-dotfiles/gitconfig' >~/.gitconfig
Very good suggestion.
> ... you have to bootstrap > somehow (e.g., you're going to have to copy a .profile or similar to get > the GIT_GLOBAL_CONFIG variable set).
Exactly my thought ;-)