logoalt Hacker News

idoubtityesterday at 10:23 PM1 replyview on HN

No, more like:

    git rebase -i
    # squash all the commits (e.g. in vim with ctrl-v)
    git reset HEAD^
    git add -p
    # interactively pickup the RED hunks
    git ci -m RED
The main difference to jj is that the RED commit is created later with git.

Replies

nine_kyesterday at 11:14 PM

But isn't the flow nearly identical with jj, because the key part, the moving of hunks, is interactive (aka manual) anyway?