Skip to content

Instantly share code, notes, and snippets.

@christophermark
Last active July 18, 2025 19:41
Show Gist options
  • Select an option

  • Save christophermark/cb41e35b5dfc63644f80111aecfe4333 to your computer and use it in GitHub Desktop.

Select an option

Save christophermark/cb41e35b5dfc63644f80111aecfe4333 to your computer and use it in GitHub Desktop.
Git Rebase --onto
https://stackoverflow.com/questions/29914052/how-to-git-rebase-a-branch-with-the-onto-command/29916361#29916361
git rebase --onto <newparent> <oldparent>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment