zlacker

[return to "Stacked Diffs with git rebase —onto"]
1. nopurp+kCe[view] [source] 2025-12-05 11:15:09
>>flexdi+(OP)
That particular case can be solved much easier by rebasing outer-most branch with `--update-refs` flag.
◧◩
2. duskdo+NOe[view] [source] 2025-12-05 12:45:29
>>nopurp+kCe
I'm guilty lol. I wrote a helper to do rebase chains like this
◧◩◪
3. nopurp+r9f[view] [source] 2025-12-05 14:35:12
>>duskdo+NOe
update-refs works only in a narrow case when every branch starts form the tip of a previous. Your helper might still be useful if it properly "replants" whole tree keeping its structure.
◧◩◪◨
4. WorldM+QDf[view] [source] 2025-12-05 16:40:36
>>nopurp+r9f
Though at that point it may be easier to rewrite your helper to manage rebase's interactive scripts.
[go to top]