August 2019
Beginner to intermediate
798 pages
17h 2m
English
The git cherry-pick command is an advanced command that should be used with care as it applies the changes introduced by some existing commits to the current branch. The following command will apply commit 4226f2c4 to the current branch:
$ git cherry-pick 4226f2c4
The following command will apply all commits from 4226f2c4 to 0d820a87 to the current branch without including the 4226f2c4 commit:
$ git cherry-pick 4226f2c4..0d820a87
The following command will apply all commits from 4226f2c4 to 0d820a87 to the current branch, including the 4226f2c4 commit:
$ git cherry-pick 4226f2c4^..0d820a87
Read now
Unlock full access