abhinav / git-spice

Manage stacked Git branches
https://abhinav.github.io/git-spice/
GNU General Public License v3.0
220 stars 11 forks source link

[Feature plan] gs commit pick to cherry-pick a commit #372

Open abhinav opened 1 month ago

abhinav commented 1 month ago

This is a tracking task to add a new command, gs commit pick to cherry-pick a commit. There will be two modes of use:

  1. With an argument

    gs commit pick <hash>

    This just acts as an alias to git cherry-pick followed by an upstack restack.

  2. Without an argument

    gs commit pick

    This should present a terminal UI similar to gs branch split for selecting a commit from available tracked branches.

    image