---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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>.

- Set the given revision as the working copy:

`jj edit {{revset}}`
