git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Sebastian Richter <Sebastian.Richter@HTW-Berlin.de>
Cc: Imi Admin <imiadmin@htw-berlin.de>, git@vger.kernel.org
Subject: Re: Problem with credential.helper=store in git 2.32.0.windows.2
Date: Mon, 10 Jan 2022 13:52:56 +0100 (CET)	[thread overview]
Message-ID: <nycvar.QRO.7.76.6.2201101349550.339@tvgsbejvaqbjf.bet> (raw)
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

  reply	other threads:[~2022-01-10 12:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-06 12:32 Problem with credential.helper=store in git 2.32.0.windows.2 Imi Admin
2022-01-09 21:53 ` Johannes Schindelin
2022-01-10  7:58   ` Sebastian Richter
2022-01-10 12:52     ` Johannes Schindelin [this message]
2022-01-10 14:03       ` Sebastian Richter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nycvar.QRO.7.76.6.2201101349550.339@tvgsbejvaqbjf.bet \
    --to=johannes.schindelin@gmx.de \
    --cc=Sebastian.Richter@HTW-Berlin.de \
    --cc=git@vger.kernel.org \
    --cc=imiadmin@htw-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).