Skip to content
Discussion options

You must be logged in to vote

We have a detailed explanation of how we rebase after a squash merge here: https://github.github.com/gh-stack/faq/#how-does-squash-merge-work

The key git command:

git rebase --onto <new_commit_sha_generated_by_squash> <original_commit_sha_from_tip_of_merged_branch> <branch_name>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by skarim
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