arxanas / git-branchless

High-velocity, monorepo-scale workflow for Git
Apache License 2.0
3.37k stars 80 forks source link

[Feature Request] Add interactive mode for hide/unhide #1339

Open mfulbright opened 1 month ago

mfulbright commented 1 month ago

Adding an interactive mode for hiding or unhiding commits, similar to how switch works, would be useful. The use cases for hide/unhide and switch are similar - they all need to identify 1+ commits, so a similar interaction for doing so seems to make sense.

Proposed command:

$ git hide -i
<interactive commit picker launches>
$ git unhide -i
<interactive commit picker launches>