Files
cheatsheet-tldr/tldr/jj-edit
2026-01-13 00:19:20 +00:00

15 lines
386 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://docs.jj-vcs.dev/latest/cli-reference/#jj-edit>.
- Set the given revision as the working copy:
`jj edit {{revset}}`