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

branch split: Support moving active branch down #409

Closed abhinav closed 1 month ago

abhinav commented 1 month ago

Given a branch X with two commits:

main --> abc --> def (X)

If we attempt to split at abc, the branch split dialog requires that abc get a name that is not X, and that X must remain at the top. This is not always desirable. Sometimes you want:

main --> abc (X) --> def (New)

We should support this workflow with branch split.

abhinav commented 1 month ago

closing in favor of #411