Replies: 1 comment 2 replies
-
Thanks so much for sharing this idea, it's much appreciated! I think it's fair to say that I heard of features like "Add dependent branch below" and moving entire stack segments (i.e. branches) around. With the latter feature it would be possible to create a new branch on top, and then move it into position where needed. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While working on a larger feature, I often realize I want to merge part of my changes before merging the whole thing. Especially if the overall feature is still work-in-progress.
To correctly model this in GitButler, what I need to do is create a branch at the bottom of the stack.
I've done this a few times already with a workaround, but would love to have a dedicated feature that automates the steps that I currently do to achieve it.
Workaround flow (assuming a stack with a single branch; can easily be extended to an arbitrary number though):
This way, I end up with a new, empty branch at the bottom of the stack. I can now use various gitbutler features to move changes into this branch and create a PR for them.
To visualize the intended feature, I what I'd like to have is an option like "Create dependent branch", maybe called "Create base branch" (naming could certainly be improved), that would take the state from the first image and result in the state of the second image:


Beta Was this translation helpful? Give feedback.
All reactions