levelbreaded / gumption

CLI tool to manage stacked branches on Git
3 stars 0 forks source link

(Suggestion:Command) Hopping between branches #3

Open Opeyem1a opened 6 months ago

Opeyem1a commented 6 months ago

Basically git-switch but with a select menu

So: gumption hop shows a select input of your current gumption branches gumption hop {any string} shows select input of gumption branches starting with {any string} gumption hop {branch name} just functions exactly like git switch

aadiraju commented 6 months ago

I like this a lot. VSCode and IDEs have this feature as well but it's nice to do it built in to the CLI. I think you can get decently far with the tab-autocomplete though but this is still very cool especially with the search function. Maybe we also support regex? 👀

MtheDV commented 6 months ago

Did we want to do gumption as the entry command? Feels like a lot to write out and not the most fluid on the keyboard, maybe something like: gn, gmp, gump, gmpt, gptn, gp?

Opeyem1a commented 6 months ago

@aadiraju Supporting regex is valid, but I think that becomes an extension a little