zlacker

[return to "Stacked Diffs with git rebase —onto"]
1. swaits+JWe[view] [source] 2025-12-05 13:31:28
>>flexdi+(OP)
Every time I see one of these nifty git tricks or workarounds I find myself wondering, “why not just use jj?”

You get a nicer, significantly simpler interface. You don’t need any tricks. You don’t have to google how to work yourself out of a bad state, ever. And you get near-perfect git compatibility (ie you can use jj on a shared git repo, doing all the same things, and your teammates won’t know the difference).

I’ve wondered if there is a psychological thing here: someone who spent time memorizing all the git nonsense may have some pride in that (which is earned, certainly), that introduces some mental friction in walking away???

◧◩
2. yegle+arf[view] [source] 2025-12-05 15:52:13
>>swaits+JWe
jj does not support git submodules, this precludes even a casual use on my own personal repo.
◧◩◪
3. stevek+KPg[view] [source] 2025-12-05 22:34:39
>>yegle+arf
It just means that you use git commands to update your submodules, jj still works for the rest of the repo just fine.
◧◩◪◨
4. yegle+jdh[view] [source] 2025-12-06 01:40:59
>>stevek+KPg
I have a repo where main has no submodules and a branch has submodules. Switching between then breaks everything...
[go to top]