-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting moving fixup commits be last commit in their branch #157
Comments
I think you are being affected by the bug that was fixed in 0.4.8. I just realized there are several more fixes in master (unrelated to this), so I'd recommend upgrading to the newly released 0.5.0. |
I just tried & what I got was better but still not quite what I want. Our commit policy is to push a fixup commit before squashing so that we can see what changed in the PR. Thus I need the fixup commit to be moved to be the last commit of the branch containing the commit being fixed up, not beside the commit it's fixing up. So:
rebased with a hypothetical
|
I can see how that would be helpful though with the downside that you delay discovering how cleanly you can move the commit to be right after what it fixes. When doing this workflow, do you eventually do a "move" or do you only need "move-tip" and squash? The main issue will be finding a way to expose this clearly. I worry a |
We just move tip and squash so having a confit option that changes where we move to is fine. |
Version
0.3
Use Case
Would be nice if
git-stack
could be taught to handle fixup commits for parent features by making them the new tips. For example, if I haveI would like
git stack --rebase --fixup move
to produce:Currently the behavior appears to be very inconsistent and never what I want. Either the fixups are ignored or they end up in the wrong branch
Requirements
git stack --rebase --fixup move
should move the fixup commits to be the new tips of the changed branches.Possible Solutions
No response
The text was updated successfully, but these errors were encountered: