git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git credential store conflicting configuration leads to unexpected behavior

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Dec 7, 2022, 01:15 UTC
Message-ID
<Y4/pO55b5DtPnavg@tapette.crustytoothpaste.net>
In-Reply-To
<CACH4KQSj64WeqAV3CDkCXc+YW6dr+S2vN_QBj5SwcSP05fM0Eg@mail.gmail.com>
On 2022-12-06 at 23:53:05, Gennady Uraltsev wrote:
Show 5 quoted lines
> Thank you!
> 
> This makes sense and the solution is simple. Is this somewhere in the
> documentation (honest question, I am not being a jerk)? I tried my
> best to figure this out before bugging people on the mailinglist.

Yes, but maybe not where you'd expect. In gitcredentials(7), there's this text:

  If there are multiple instances of the `credential.helper` configuration
  variable, each helper will be tried in turn, and may provide a username,
  password, or nothing. Once Git has acquired both a username and a
  password, no more helpers will be tried.
  If `credential.helper` is configured to the empty string, this resets
  the helper list to empty (so you may override a helper set by a
  lower-priority config file by configuring the empty-string helper,
  followed by whatever set of helpers you would like).
The `credential.helper` option mentions that manual page.
-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
Previous: Gennady UraltsevNext: Gennady Uraltsev
Message 4 of 6 in “Git credential store conflicting configuration leads to unexpected behavior”
  1. Gennady UraltsevDec 6, 2022
  2. brian m. carlsonDec 6, 2022
  3. Gennady UraltsevDec 6, 2022
  4. brian m. carlsonDec 7, 2022
  5. Gennady UraltsevDec 7, 2022
  6. Philip OakleyDec 7, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.