@bobbyy16/cherrypick-terminal
v0.1.9
Published
Interactive terminal UI for git cherry-pick with PR creation
Maintainers
Readme
🍒 CherryPick Terminal
An interactive terminal UI for git cherry-pick — browse commits, select what you want, preview diffs, and optionally create a GitHub PR. No gh CLI required.
Installation
npm install -g @bobbyy16/cherrypick-terminalUsage
Navigate to any Git repository and run:
cherrypickFeatures
| Feature | Key |
| ------------------------------ | ------------------- |
| Browse commits | ↑ / ↓ or j / k |
| Select commits for cherry-pick | Space |
| Execute cherry-pick | Enter |
| Diff preview (side panel) | auto on cursor move |
| Search / filter commits | / then type |
| Create GitHub Pull Request | p |
| Set / update GitHub token | t |
| Quit | q or Ctrl+C |
GitHub Token (for PR creation)
On first launch, the app will prompt you to enter a GitHub Personal Access Token with repo scope.
Your token is stored securely in the OS config directory (via conf) and never hardcoded or committed.
To create a token: GitHub → Settings → Developer settings → Personal access tokens → Tokens (classic) →
reposcope.
You can press t at any time to update your token.
Conflict Handling
If a cherry-pick conflicts, the app pauses and shows a list of conflicted files.
- Resolve conflicts in your editor
- Press
cinside the app →git cherry-pick --continue - Press
a→git cherry-pick --abort
Dependencies
blessed— Terminal UIsimple-git— Git operations@octokit/rest— GitHub APIconf— Token persistence
Author
Abhishek k
