3 ms·
moving from magit 1.x to this magit made me accidentally push some commits to the master branch. This is because my fingers still want to exercise the magit 1.X
by toolslive 11y ago
moving from magit 1.x to this magit made me accidentally push some commits to the master branch. This is because my fingers still want to exercise the magit 1.X key combo's. I'm sure I'm not the only one.
So what's the canonical way to:
create branch X,
switch to branch X,
and make it so my next push will go to origin/X ?
- wging 11y agoMeta-answer: type 'b' in the magit status buffer and take a look at the help. Or ? for a list of commands, including 'b'. Set-upstream is how you make it so pushes go to a specific place. Can't be more specific right now, but this should get you where you need.
- tarsius 11y agoI am not very happy about it, but I have just installed a change that forces everybody to opt-in to the new push behavior.