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. duskdo+K9i[view] [source] 2025-12-06 13:51:53
>>nopurp+r9f
No, as far as I can tell, it's basically just doing update-refs. But in my defense, I just found out by looking for the option that for some reason my git manpages are from an old version before it was introduced
[go to top]