Copy a Commit from One Branch to Another

Chris Achard
InstructorChris Achard

Share this video with your friends

Send Tweet

If you want to pull over just a single commit from one branch onto another, you can do that with git cherry-pick [HASH-TO-MOVE]

We'll demonstrate that by making a commit on a feature branch, and then copying that commit (but not the entire branch) onto master.