3 ms·
You want "jj commit -i". You'll get an interface that lets you choose files, chunks, or lines to commit.
by WolfeReader 11mo ago
You want "jj commit -i". You'll get an interface that lets you choose files, chunks, or lines to commit.
- Zambyte 11mo agoOr the shorthand: jj ci -i Or if you don't care to set a commit message just yet: jj split -i Or if you want to defer making sure each commit has the right content until later, just use jj new, and then later use jj squash and jj split to make the commits have sensible changes, and jj desc to set the descriptions.
- IshKebab 11mo agoWith git I can stage lines right in my IDE, no messing around in shitty TUIs.
- Zambyte 11mo agohttps://jj-vcs.github.io/jj/latest/config/ https://jj-vcs.github.io/jj/latest/config/ ctrl+f "tool"
- mettamage 11mo agoSold! I'm trying jj. I've seen enough mentions now. I've never read anything about it. I hope it's compatible with git.
- MrGreenTea 11mo agoThe compatibility with git is the whole reason it's so popular (just run `jj git init --colocate` in your git repo). You can use it without forcing your collaborators to switch from git and you can use it will a git forges as well.