logoalt Hacker News

pzmarzlytoday at 11:37 AM1 replyview on HN

I haven't tested it, but this should be slightly simpler, and work better for subsequent review iterations (reviewing what changed once PR is updated):

    jj new main -m review
    jj new -m pr
    jj git fetch
    jj restore --from=big-change@origin .
Then keep squashing from `pr` to `review` as described in the article. When the PR gets a new version, rerun the last 2 commands.

Replies

CGamesPlaytoday at 12:26 PM

This would avoid dealing with merge conflicts when the PR changes, which is nice.