`gh repo create` needs a flag for what user/org to push the repo to
mehulkar opened this issue · 0 comments
mehulkar commented
Describe the feature or problem you’d like to solve
I want to push up a new repo to Github with:
gh repo create --public --push --remote origin --source . --description ''
But this pushes to my personal user by default. I'd like to push it to an org instead, and the --help
text doesn't show an option to do that.
Proposed solution
Add a --org
flag that lets you customize where to push
Additional context
When you don't specify all the other flags, the interactive wizard does ask you for a "Repository owner" and gives you a list of owners to choose from, so it seems like there should be a flag for it also.