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 --fetch
which 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-forwardmaster
toorigin/master
, then rebase your branch ontomaster
, and then (force-)push your branch.git machete update
is an older & narrower command, which basically just does the rebase of the current branch onto its parent ✂️