Skip to content

Instantly share code, notes, and snippets.

@mijorus
Last active July 9, 2024 13:20
Show Gist options
  • Save mijorus/9c82c68a6db8718102e9b5367e016b08 to your computer and use it in GitHub Desktop.
Save mijorus/9c82c68a6db8718102e9b5367e016b08 to your computer and use it in GitHub Desktop.
Lazygit: how to cherry-pick

I'm writing this because I found it harder than expected, but actually is super easy.

  1. From the "Commit" panel (or the "Branches" panel) focus on a commit an press c, you can select more than one
  2. Go to the "Commit" panel (in the "Branches" panel it doesn't work) and press v, will ask for confirmation.
  3. DONE

EDIT: With the latest release, c and v are replaced with Shift + c and Shift + v

@dchevilletRDR
Copy link

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment