git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git makes it impossible to ignore or override global gitconfig, needs `GITCONFIGFILE`
@ 2020-03-19  5:48 Timothee Cour
  2020-03-19  6:44 ` Eric Wong
  0 siblings, 1 reply; 5+ messages in thread
From: Timothee Cour @ 2020-03-19  5:48 UTC (permalink / raw)
  To: git

git makes it impossible to ignore global gitconfig. This is
essentially what's being asked here:
https://stackoverflow.com/questions/23400449/how-to-make-git-temporarily-ignore-gitconfig

## proposal:
add an environment variable (like for tig and other programs), eg:
`GITCONFIGFILE=~/.gitconfig_temp git diff`
seems like an easy change that would make it easy for users to ignore
or override their gitconfig

## note:
I've asked here:
https://groups.google.com/forum/#!topic/git-users/1ehWsItL8vE but got
0 response after 6 months

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-03-20  5:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-19  5:48 git makes it impossible to ignore or override global gitconfig, needs `GITCONFIGFILE` Timothee Cour
2020-03-19  6:44 ` Eric Wong
2020-03-19 16:51   ` Jeff King
2020-03-20  2:28     ` Timothee Cour
2020-03-20  5:41       ` Jeff King

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).