-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Let's say that I've created a local branch and committed to it. When I go to push to the remote for the first time, I have a change of mind and want to give the remote branch (perhaps the work has changed in scope) a different name.
When I do that now, I receive the following error:
Error
error: src refspec <desired remote branch name> does not match any
error: failed to push some refs to <remote .git URI>
Describe the solution you'd like
I'd like to be presented with the option of creating the remote branch with the desired name.
Describe alternatives you've considered
- Not fulfilling this feature request but correcting the error text (which seems truncated--or perhaps this is
git) - Rephrasing the error text such that it's more intelligible.
- Telling the user to first rename the local branch and then attempt the push
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
