User Tools

Site Tools


git:git_cherry-pick

This is an old revision of the document!


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.

git/git_cherry-pick.1479728228.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki