-
Notifications
You must be signed in to change notification settings - Fork 48
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
Don't require GitHub repo to be origin
remote
#227
Comments
What |
|
|
That's certainly an option. What I'd like is for |
@parkr That sounds like an really expensive operation and way too error-prone. If your repo contains multiple |
Based on who's logged in, I'd say. |
@parkr what if you have write access to a remote which is not under your name? and you happen to have a fork of the same repo under your name? |
|
I'd like a --remote flag for |
yeah, indeed. same for for me, the canonical repo is seldomly |
so, what names are supported now? gh? upstream? hub? |
@flying-sheep The origin names lookup order is upstream, github and origin. Also |
Hey, I have a repo I backup to GitHub so I have the github repo setup as the
gh
remote. It would be great ifgh
looped through all the remotes and found the one whose host matched theGITHUB_URL
and used that for the relevant commands. Thoughts?The text was updated successfully, but these errors were encountered: