I'm having trouble understanding how Magit handles pushing local branches to remote
I create and checkout a new branch with b c
.
I make some arbitrary change, and save returning to magit with C-x g
I stage and commit the change adding a commit message.
Now I want to push.
In a terminal I would use git push --set-upstream origin <new_branch_name>
In magit, I use P
and either u
or p
.
Reading the docs and this question it sounds like u
is the right choice.
when i hit u
the status buffer reads
Set upstream of third_test_branch and push there (default origin/master):
looking for another input. When I enter master
it then pushes to the master branch.
any other input at this point seems to return match not found
what am I missing? Thanks