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

Re: Problem with credential.helper=store in git 2.32.0.windows.2

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 10, 2022, 12:52 UTC
Message-ID
<nycvar.QRO.7.76.6.2201101349550.339@tvgsbejvaqbjf.bet>
In-Reply-To
<1c331bdd51b424022bfd598c71d7d666@HTW-Berlin.de>
Hi Sebastian,
On Mon, 10 Jan 2022, Sebastian Richter wrote:
> thanks for clarifying this. I'm using 'git config --system --unset
> credential.helper' before setting the file store in the local configuration
> now and it works.

I am not quite sure whether that is a good solution. You are changing the system configuration for the benefit of a local configuration. That would potentially break every other user outside of that repository that now works.

My suggestion is to either go with my earlier recommendation and add an empty `credential.helper` in the repository's config before the actual one (and leave the system config alone), or alternatively change the system config instead of the repository config in the first place.

Ciao, Johannes

Previous: Sebastian RichterNext: Sebastian Richter
Message 4 of 5 in “Problem with credential.helper=store in git 2.32.0.windows.2”
  1. Imi AdminJan 6, 2022
  2. Johannes SchindelinJan 9, 2022
  3. Sebastian RichterJan 10, 2022
  4. Johannes SchindelinJan 10, 2022
  5. Sebastian RichterJan 10, 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.