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
SRSebastian Richter <sebastian.richter@htw-berlin.de>
Date
Jan 10, 2022, 14:03 UTC
Message-ID
<c0d6f26a5e96f12719d5bfa969529ec9@HTW-Berlin.de>
In-Reply-To
<nycvar.QRO.7.76.6.2201101349550.339@tvgsbejvaqbjf.bet>
Hi Johannes,

you are right, but during my (cluster) ssh connections no one else uses my systems (hopefully), and i do restore the system file afterwards.

But i'll implement your approach in the next script version.
Thanks & best Sebastian
Am 10.01.2022 13:52, schrieb Johannes Schindelin:
Show 24 quoted lines
> 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
-- 
Hochschule für Technik und Wirtschaft
Wilhelminenhofstr. 75A
12459 Berlin
Gebäude C Raum 538
tel 030 5019 2945
fax 030 5019 48 2945
mail richter@htw-berlin.de
Previous: Johannes Schindelin
Message 5 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.