mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-03 10:35:23 +02:00
Combine jj-operation-* pages into a single jj-operation page.
This commit is contained in:
parent
66d9e4d13f
commit
2825c1543f
5 changed files with 28 additions and 43 deletions
|
@ -1,10 +0,0 @@
|
|||
# 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`
|
|
@ -1,9 +0,0 @@
|
|||
# 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}}`
|
|
@ -1,12 +0,0 @@
|
|||
# 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}}`
|
|
@ -1,12 +0,0 @@
|
|||
# jj operation undo
|
||||
|
||||
> Create 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}}`
|
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