-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
krew fails to work if defaultRemoteName
is assigned in ~/.gitconfig
#853
Comments
/kind support |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
We can keep it open but I don't know what low % of users this actually impacts. |
I have this config option set in my global ~/.gitconfig file:
Which changes the default remote name to
home
. However,krew
assumes that the default remote name is always going to beorigin
, due tokrew/internal/gitutil/git.go
Line 75 in efaaa22
This causes most commands to fail:
It would be better if one of the following were true:
krew
would detect this setting and use the actual remote namekrew
did not use this setting from the global config, perhaps by running with a blank configGetRemoteURL
returned empty dataThe text was updated successfully, but these errors were encountered: