4 ms·
> jj takes the opposite approach. It keeps staging things, and you use split whenever you want to separate things out. You can use `git reset -p` to selectivel
by hamdingers 2mo ago
> jj takes the opposite approach. It keeps staging things, and you use split whenever you want to separate things out.
You can use `git reset -p` to selectively unstage hunks the same way if you wanted to.
- BeetleB 2mo agoI've used git for many years and never remembered the command `git reset -p`. I'd have to look it up. Since that's a pain, I simply didn't. Whereas with jujutsu, after learning it once, I never looked up `split`. And it's not like I use `split` often. I can go weeks without it.
- nagaiaida 2mo agoi've always thought one of git's strengths is offering robust aliasing and subcommand flexibility. why not spend three seconds making git have split too?
- BeetleB 2mo agoAnd do that on every machine? Easier to just use jujutsu. It has a lot of benefits than just this.
- deleted 2mo ago[deleted]
- bdangubic 2mo agoif you did not have alias for git reset -p you never really used git ;)