DEV Community

Discussion on: How often do you use git cherry-pick?

danielltw profile image
Daniel Leong πŸ‡ΈπŸ‡¬

I use it when I am in-between tasks.

Working on Task A then a simple fix is needed on the development branch and changing to a new fix/feature branch is just too much of a hassle.
Make the commit on the current Task A feature branch and cherry-pick it into the development branch.