Files
cheatsheet-tldr/tldr/jj-edit
2025-07-06 00:23:01 +00:00

15 lines
390 B
Plaintext

---
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}}`