logoalt Hacker News

pythonaut_16yesterday at 1:15 PM1 replyview on HN

I also like `jj commit [paths]` to commit just a subset of files when I don't need hunk based splitting.

Like `jj commit -m 'Feature A' file1 file2` then `jj commit -m 'Feature B' file3 file 4`


Replies

surajrmalyesterday at 1:43 PM

I use jj commit -i a lot when writing the paths is too tedious. What's nice is you can pass -i into most commands (squash, split, absorb, etc).