From: Duy Nguyen Date: Fri, 26 Feb 2016 08:34:53 GMT Subject: Re: Fwd: git clone does not respect command line options Message-ID: In-Reply-To: <20160226082437.GB26994@sigill.intra.peff.net> On Fri, Feb 26, 2016 at 3:24 PM, Jeff King wrote: > As an alternative, it would be nice to have some config syntax for > "clear the list". Maybe something like an empty string, which I think > has no meaning for the current multi-valued variables (at least not for > credential helpers or refspecs). That would allow something like: > > git -c credential.helper= clone ... > > to do what you'd expect. I've been thinking of -= instead. It's unambiguous. And you can use wildcards on both sides. "credential.helper -= *" means delete that key, "credential.* -= *" deletes all credential.* keys. credential.helper -= abc only deletes it if the previous value is abc. -- Duy