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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s