7 ms·
The analogous command here is `jj split -i`, which interactively splits the current commit (which is your working copy).
by ocharles 3y ago
The analogous command here is `jj split -i`, which interactively splits the current commit (which is your working copy).
- Certhas 3y agoThank you, I have yet to see a workflow mentioned here that is not just as easy in jj (just conceptually different). Also learning about progress git workflows though, so that's cool.
- sicariusnoctis 3y ago`jj split -i` gives: > error: unexpected argument '-i' found Actually, maybe I'm just a complete git, but I couldn't figure out how to `git reset HEAD~` my accidental commits, `git rebase -i HEAD~6`, format `jj log` more like `git log --color --oneline --graph --full-history` (which shows one-line-per-commit), `git checkout -p` (and obviously, `git add -p`), `git show HEAD~`, refer to N-th parents, e.g. `master~5`, and a bunch of other things... It also feels a bit weird that new files are automatically committed without being manually approved, but I suppose this might theoretically help with some of git's annoyances.