mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-14 21:15:24 +02:00
jj-operation: add pages (#17045)
This commit is contained in:
parent
79e53035d4
commit
7e4ae2965d
1 changed files with 28 additions and 0 deletions
28
pages/common/jj-operation.md
Normal file
28
pages/common/jj-operation.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# jj operation
|
||||
|
||||
> Work with the operation log of a `jj` repository.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-operation>.
|
||||
|
||||
- Show operation log:
|
||||
|
||||
`jj {{[op|operation]}} log`
|
||||
|
||||
- Undo the last operation:
|
||||
|
||||
`jj {{[op|operation]}} undo`
|
||||
|
||||
- Undo a given operation:
|
||||
|
||||
`jj {{[op|operation]}} undo {{operation}}`
|
||||
|
||||
- Restore the repository to its state at a given operation:
|
||||
|
||||
`jj {{[op|operation]}} restore {{operation}}`
|
||||
|
||||
- Show changes to the repository in an operation:
|
||||
|
||||
`jj {{[op|operation]}} show {{operation}}`
|
||||
|
||||
- Show stat, summary and patch of modifications of an operation:
|
||||
|
||||
`jj {{[op|operation]}} show {{--stat}} {{[-s|--summary]}} {{[-p|--patch]}} {{operation}}`
|
Loading…
Add table
Reference in a new issue