No matter how I fiddle with magit options, I cannot reproduce the following behavior:
- I checkout
- I create a new
feature-branchon top of it; its name is unique.
- I make changes, add commits to that branch.
- I push the branch, and it ends up as
This behavior is trivially achieved by
git push -u.
From within magit, the "Push" popup suggests to set upstream, but it suggests
master, or other existing upstream branches.
I want my local name branch be settable as upstream, or the push remote branch, without copy-pasting.
An elisp snippet to set the upstream branch would be equally helpful.