Features
- Interactive UI — easily view and select commits with an intuitive interface
- Only what's missing — lists the commits on the branch that aren't already on yours, oldest first, so they replay the right way round
- Clear output — each cherry-picked commit is displayed with its hash and message, providing clarity and transparency
- Plain errors — if git fails, its message is printed after
❌ Error:and the command exits with1
Install
npm install -g @kud/git-cherry-pick-interactive-cliBinary: git-cherry-pick-interactive, so git also runs it as git cherry-pick-interactive · Requires Node.js >= 20
Usage
$ git cherry-pick-interactive <branch-name>Replace <branch-name> with the name of the branch you want to cherry-pick commits from.
After executing the command, you will be presented with a list of commits from the specified branch. Select the commits you'd like to cherry-pick using the arrow keys and spacebar. Once your selections are made, press the Enter key to proceed with the cherry-picking process.