What does git cherry-pick do?

Git Medium

Git — Medium

What does git cherry-pick do?

Key points

  • Cherry-pick focuses on individual commits, not test results or file subsets.
  • It replays changes, rather than removing commits or selecting files.
  • The result is a new commit on the current branch, duplicating the changes.
  • This process does not alter the original commit or branch.

Ready to go further?

Related questions