1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 17:53:50 +02:00

jj: add edit, undo (#17709)

This commit is contained in:
Geoffrey Grosenbach 2025-08-25 06:29:49 -07:00 committed by GitHub
parent d4a5784870
commit 89b6f7e2c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,9 +6,9 @@
- Update description of the revisions specified by given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.):
`jj {{[desc|describe]}} {{[-r|--revision]}} {{revsets}}`
`jj {{[desc|describe]}} {{[-m|--message]}} "{{message}}" {{[-r|--revision]}} {{revsets}}`
- Create a new commit/revision on top of a given revision :
- Create a new commit/revision on top of a given revision:
`jj new {{revset}}`
@ -16,6 +16,14 @@
`jj new {{revset1 revset2 ...}}`
- Update the working copy to point to a revision:
`jj edit {{revset}}`
- Undo the previous command (which may itself have been `undo`):
`jj undo`
- Execute a jj subcommand without snapshotting the working copy:
`jj --ignore-working-copy {{subcommand}}`