Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 504 Bytes

18-cherry-picking.md

File metadata and controls

18 lines (11 loc) · 504 Bytes

Cherry-Pick

If you have a very important change in a branch, but that branch is not merged yet, you can use cherry picking.

You use that if you want to work with that change, but instead of merging that branch, you cherry-pick that commit with the important change.

git cherry-pick <commit hash>

For more details, refer to:
https://www.previousnext.com.au/blog/intro-cherry-picking-git

You usually avoid cherry picking. You do this only in exceptions.


Next