Re: Problem with credential.helper=store in git 2.32.0.windows.2
- From
- Sebastian 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