Skip to content

PortableGit credential.helper=helper-selector override #3410

Answered by rimrul
viceice asked this question in Q&A
Discussion options

You must be logged in to vote

[credential]
helper = helper-selector

I assume that's a typo and you meant manager-core.

You can indeed override the system setting, but it's slightly more complicated.

From gitcredentials(7):

If there are multiple instances of the credential.helper configuration variable, each helper will be tried in turn, and may provide a username, password, or nothing. Once Git has acquired both a username and a password, no more helpers will be tried.

If credential.helper is configured to the empty string, this resets the helper list to empty (so you may override a helper set by a lower-priority config file by configuring the empty-string helper, followed by whatever set of helpers you would like).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@viceice
Comment options

@viceice
Comment options

Answer selected by viceice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants