Git lesson: cherry-pick command (possible in VS2015)

How many of you have been used cherry-pick in Git?

Cherry picking in git means to choose a commit from one branch and apply it onto another.

git cherry-pick <commit-hash>

Official documentation: https://git-scm.com/docs/git-cherry-pick

Visual Explanation: http://think-like-a-git.net/sections/rebase-from-the-ground-up/cherry-picking-explained.html

It is convinient way to copy changes from previous commit  in Visual Studio 2015

vscherrypick

Advertisements