gh repo create should have an option to add remote without clone seperately #6981
Replies: 2 comments 2 replies
-
If the current branch already has commits, |
Beta Was this translation helpful? Give feedback.
-
How would I just create a feature branch using the gh cli? |
Beta Was this translation helpful? Give feedback.
-
The use case here is I am in some folder already working on a new repo, I
git init
thengh repo create
, it would be great if once of the options withingh repo create
is to setgit remote add origin {new-repo-remote}
so then I can commit and push without having to manually add it.Beta Was this translation helpful? Give feedback.
All reactions