mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-02 02:15:23 +02:00
jj: add operation pages for jj (Jujutsu)
This commit is contained in:
parent
a138d21f1c
commit
c9ead03de3
4 changed files with 44 additions and 0 deletions
10
pages/common/jj-operation-log.md
Normal file
10
pages/common/jj-operation-log.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
# jj operation log
|
||||
|
||||
> View log of operations of this jj repository as a graph.
|
||||
> Operation ID copied from here can be passed to other commands to run them at that operation.
|
||||
> They can also be passed to `jj operation restore` to restore the repository to that state.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-operation-log>.
|
||||
|
||||
- Show operation log:
|
||||
|
||||
`jj {{[op|operation]}} log`
|
9
pages/common/jj-operation-restore.md
Normal file
9
pages/common/jj-operation-restore.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# jj operation restore
|
||||
|
||||
> Restore the repository to an earlier state.
|
||||
> `jj operation log` can be used to find the operation ID to be passed here.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-operation-restore>.
|
||||
|
||||
- Restore the repository to its state at the given operation:
|
||||
|
||||
`jj {{[op|operation]}} restore {{operation}}`
|
13
pages/common/jj-operation-show.md
Normal file
13
pages/common/jj-operation-show.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# jj operation show
|
||||
|
||||
> Show changes to the repository in an operation.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-operation-show>.
|
||||
|
||||
- Show changes 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}}`
|
||||
|
12
pages/common/jj-operation-undo.md
Normal file
12
pages/common/jj-operation-undo.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# jj operation undo
|
||||
|
||||
> Creates a new operation that undoes an earlier operation.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-operation-undo>.
|
||||
|
||||
- Undo the last operation:
|
||||
|
||||
`jj {{[op|operation]}} undo`
|
||||
|
||||
- Undo the given operation:
|
||||
|
||||
`jj {{[op|operation]}} undo {{operation}}`
|
Loading…
Add table
Reference in a new issue