# 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: . - Set the given revision as the working copy: `jj edit {{revset}}`