Git Cherry Pick Example [Intermediate Git Tutorial]

preview_player
Показать описание

What is cherry pick in Git? Watch this intermediate Git tutorial video to learn how to use the cherry pick command in Git to apply a commit’s changes onto another branch, when a merge might be preferred, and get tips for avoiding duplicate commits. Plus, see a cherry pick example using the GitKraken Git GUI.

#cherrypick #learngit #git #gitkraken #gitclient #gitgui #programming
Рекомендации по теме
Комментарии
Автор

Please keep doing more of these types of video explaining basic Git concepts within the context of GK.

Ziplock
Автор

It's funny seeing this new video after my recent bug report...
I have found that I use cherry-picking quite heavily to do deep history re-writing on a branch. Essentially I rebuild a new version of the branch, placing changes and fixes more logically together. When I have built up a clean branch, I throw the old one away.
This workflow is only possible before the changes have been pushed up. After pushing the commits, you are stuck with it.
To support this workflow, I would like to be able to select an interval of commits to cherry-pick, instead of having to do each one individually. The group of commits would be "copied" to the new branch and committed immediately (as separate commits). It may also be useful to have the option to squash them together.

benstanley
Автор

You people are fantastic! I love GitKraken!

page
Автор

Thanks for explaining this so clearly!

TempestaWeb
Автор

Now please support cherry-picking multiple or a range of commits 🙂

nunoarruda
Автор

How do you cherry pick multiple commits and add them to the checked out branch?

ghendric
Автор

I wonder what the IDE and the plugin are >"<

jack
Автор

i didn't understand what is cherry picking and i still don't understand what is it after watching... not clear at all

tonyHern
Автор

bad video.. what if you want to cherry pick multiple commits?

agdmnm