Skip to content

Completely turn off the provider for a given URL #1475

Answered by hickford
obones asked this question in Q&A
Discussion options

You must be logged in to vote

Try

[credential "https://my.private.server.lan"]
    helper = 
    helper = !my_helper --some-option $@

https://git-scm.com/docs/gitcredentials#_configuration_options

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: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@obones
Comment options

Answer selected by obones

This comment was marked as spam.

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