Cherry-Picking

Cherry-Picking

Apply a single commit from another branch

$ git cherry-pick <hash>

Cherry-pick without committing (stage only)

$ git cherry-pick --no-commit <hash>

Useful when you want to modify the change before committing.

On this page