Saturday, 28 May 2016

Git: Merge a Specific Commit From One Branch to Another

Source : Git: Merge a Specific Commit From One Branch to Another
Published On : May 28, 2016 at 07:39PM
By : Agbonghama Collins

While working on one of my side projects version controlled by Git, I needed to copy and merge a commit from say BranchB to BranchA. Scenarios like this is where git cherry-pick comes in handy.

A cherry-pick is like a rebase for a single commit. It takes the patch that was introduced in a commit and tries to reapply it on the branch you’re currently on.…



For More Go to : W3Guy – A Geek's Diary

Labels: