jj edit

Set the specified revision as the working-copy revision. Note: It is generally recommended to instead use jj new and jj squash. More information: https://jj-vcs.github.io/jj/latest/cli-reference/#jj-edit.

jj edit {{revset}}