ubuntu:git:git_cherry-pick
Ubuntu - GIT - git cherry-pick
Specify which commits you want to apply to your current HEAD.
You have to know which commit hashes you want.
For example, if you have 3 commits above the master branch, you could apply just the last commit by running
git cherry-pick [hash of 3rd commit]
This way, only the 3rd commit gets applied to the master.
ubuntu/git/git_cherry-pick.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1