Re: git appears to ignore GIT_CONFIG environment variable
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 2, 2018, 03:07 UTC
- Message-ID
- <xmqqpnvoqirp.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <3389BCF7-6170-4242-82D3-0FE7FB2EA5F2@gmail.com>
Sirio Balmelli <sirio.bm@gmail.com> writes:
> It appears that git ignores the GIT_CONFIG environment variable, > while git-config *does* consider it.
Yup, that is exactly how it is designed and documented. These dasys, with "git config" taking "--file" to work on any arbitrary filename, you do not necessarily need GIT_CONFIG enviornment.