git checkout receiving-branch git merge --squash branch-to-squash git commit --amend 'commit message' git push