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