mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 13:53:52 +02:00
jj: add edit, undo (#17709)
This commit is contained in:
parent
d4a5784870
commit
89b6f7e2c3
1 changed files with 10 additions and 2 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue