From: Moe Date: Fri, 18 Dec 2009 22:54:32 GMT Subject: FEATURE REQUEST: Env override GIT_GLOBAL_CONFIG Message-ID: <4B2C0828.4010505@signalbeam.net> Hello list, I'm looking for a way to read a custom config file in addition to .git/config. An env var along the lines of GIT_GLOBAL_CONFIG (and perhaps GIT_SYSTEM_CONFIG) to override the default locations of ~/.gitconfig or $prefix/etc/gitconfig would be most welcome here. $GIT_CONFIG doesn't work for this purpose because when set git will *only* read the referenced file and ignore the repository settings. $GIT_CONFIG_LOCAL wouldn't do either and has been removed from git anyways. Use-Case: Multiple users sharing one unix account. Trying to inject the respective git identity and other preferences without overwriting the actual .gitconfig-file - because that doesn't work when multiple users are logged in concurrently to the same unix-account. Kind regards, Moe