From: Johannes Schindelin Date: Tue, 01 Jul 2025 17:03:04 GMT Subject: Re: Why git on windows pops up Git Credential Manager inspite of having set a credential helper in .gitconfig Message-ID: In-Reply-To: Hi Aditya, On Tue, 1 Jul 2025, Aditya Garg wrote: > On 01-07-2025 10:11 pm, Johannes Schindelin wrote: > > > So the trick is to call `git config set --global --add > > credential.helper ''` > > I wonder if this is a bug in git for windows? No, the actual trick is for me to read the manual page myself ;-) The option is called `--append`: https://git-scm.com/docs/git-config#Documentation/git-config.txt---append Ciao, Johannes > > PS C:\Users\Aditya\git> git config set --global --add credential.helper '' > error: unknown option `add' > usage: git config set [] [--type=] [--comment=] [--all] [--value=] [--fixed-value] > > Config file location > --[no-]global use global config file > --[no-]system use system config file > --[no-]local use repository config file > --[no-]worktree use per-worktree config file > -f, --[no-]file > use given config file > --[no-]blob read config from given blob object > > Type > -t, --[no-]type > value is given this type > --bool value is "true" or "false" > --int value is decimal number > --bool-or-int value is --bool or --int > --bool-or-str value is --bool or string > --path value is a path (file or directory name) > --expiry-date value is an expiry date > > Filter > --[no-]all replace multi-valued config option with new value > --[no-]value > show config with values matching the pattern > --[no-]fixed-value use string equality when comparing values to value pattern > > Other > --[no-]comment > human-readable comment string (# will be prepended as needed) > --[no-]append add a new line without altering any existing values > > > Or you meant by --append as per https://git-scm.com/docs/git-config > > I anyways manually added `helper = ` line and now it works well! Thanks a lot. > >