GitKraken Desktop Documentation

Cherry Pick

Last Updated: March 2025

Sometimes you commit to one branch, when you meant to commit to another. Here’s how to grab the changes you need.


To cherry pick a commit, right click on a commit node and select the Cherrypick Commit option:

The cherry pick action is also available from Local on the left panel.

Here, cherry pick grabs the changes from the commit referenced by the HEAD of that branch, and places them onto the branch currently checked out.

Cherry Pick Multiple Commits

To cherry pick multiple commits, you can select multiple commits by holding down the Cmd/Ctrl or Shift key and clicking on the desired commits. Then, right-click on one of the selected commits and choose the “Cherry pick X commits” option.

Selecting the option to cherry pick multiple commits opens an interactive cherry pick tool that allows you to reorder (with drag and drop of mouse), squash, reword, or drop any of the commits selected.

Commit Actions

Pick

Pick takes the commits from one branch and places them onto the last commit of another branch.

Reword

When selecting reword you will see the Reword commit message modal open. Here you can edit the summary and description of your commit.

Squash

When you squash you are taking the child commit and in turn writing that commit to the parent commit. In order for squash to be an option there will have to be a parent child relationship.

Drop commit

Drop removes the commit from the branch, completes rebase and rewrites the commit graph.


Keyboard Shortcuts and Reset

Use keyboard shortcuts Pick, Squash, Reword and Drop to perform commit actions. If you wish to start over, click .


Additional Learning Git Resources:

Cherry Pick Tutorial | Learn Git: What is Cherry Pick?

Have feedback about this article? Did we miss something? Let us know!
On this page