3 ms·
The speed of rebase has never been a problem for me, but this feature is very intriguing to me: > It moves branches on any intermediate commits. git rebase onl
by xenomachina 5y ago
The speed of rebase has never been a problem for me, but this feature is very intriguing to me:
> It moves branches on any intermediate commits. git rebase only moves the branch pointing to the commit which was checked out at the time of the rebase.
Many times I've had a chain of branches that I want to send out as PRs in sequence (smaller PRs are easier to review), but rebasing can result in some of this branches pointing at the wrong (pre-rebase) commits.
- arxanas 5y agoYep, that's precisely the scenario which git-move is intended to improve on. I also recommend that you try out a solution like git-stack to manage stacked PRs: https://github.com/epage/git-stack https://github.com/epage/git-stack
- xenomachina 5y agoThanks, I'll have to take a look!