Command

Git Cherry-pick a Commit Command

The Git command to cherry-pick a commit is git cherry-pick <commit>.

Quick Answer

Command
git cherry-pick <commit>
GitCommand

Cherry-pick a Commit

Type this command
git cherry-pick <commit>

Applies a single commit from another branch.

Learn More

How to cherry-pick a commit in Git

  1. Open the terminal or command interface for Git.
  2. Type git cherry-pick <commit>, replace any placeholders, and run it.

Git Cherry-pick a Commit Command

Run git cherry-pick <commit>.

Related Commands

Frequently asked questions

What is the Git command to cherry-pick a commit?

Run git cherry-pick <commit>.

Where do I type this Git command?

Type it in the terminal or command-line interface used by Git.

Does this Git command work on Mac and Windows?

Yes. The command text is the same on both platforms when the tool is installed.

Official source · How we verify