Skip to content

bobbyy16/cherrypick-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍒 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-terminal

Usage

Navigate to any Git repository and run:

cherrypick

Features

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) → repo scope.

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 c inside the app → git cherry-pick --continue
  • Press agit cherry-pick --abort

Dependencies


Author

Abhishek k

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors