Comment by WolfeReader
Comment by WolfeReader 18 hours ago
You want "jj commit -i". You'll get an interface that lets you choose files, chunks, or lines to commit.
Comment by WolfeReader 18 hours ago
You want "jj commit -i". You'll get an interface that lets you choose files, chunks, or lines to commit.
The 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.
Or 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.