update/slide-out: sync with remote parent branch and rebase? #1084
-
|
Consider the following status: Essentially, I've branched from I saw that mach has a I also saw
Does this mean it'll do a fetch of the latest from upstream and then ask me whether I want to rebase or merge? In general, is Thanks in advance for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hey, you can use
|
Beta Was this translation helpful? Give feedback.
Hey, you can use
git machete traverse --fetchwhich will first fetch all remotes and then walk through you branches and "get them sorted" one by one. In your case, it's gonna fast-forwardmastertoorigin/master, then rebase your branch ontomaster, and then (force-)push your branch.git machete updateis an older & narrower command, which basically just does the rebase of the current branch onto its parent ✂️