Skip to content

update/slide-out: sync with remote parent branch and rebase? #1084

Answered by PawelLipski
levinotik asked this question in Q&A
Discussion options

You must be logged in to vote

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-forward master to origin/master, then rebase your branch onto master, 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 ✂️

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@levinotik
Comment options

@PawelLipski
Comment options

@PawelLipski
Comment options

Answer selected by PawelLipski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants