mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 18:55:24 +02:00
Merge b1360367f1
into b2e054b7fb
This commit is contained in:
commit
30deef625d
4 changed files with 60 additions and 0 deletions
16
pages/common/jj-abandon.md
Normal file
16
pages/common/jj-abandon.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# jj abandon
|
||||
|
||||
> Abandon a revision, rebasing descendants onto its parent(s).
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-abandon>.
|
||||
|
||||
- Abandon revisions specified by given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.):
|
||||
|
||||
`jj abandon {{revsets}}`
|
||||
|
||||
- Abandon revisions, without deleting their bookmarks and moving them to the parent revisions instead:
|
||||
|
||||
`jj abandon --retain-bookmarks {{revsets}}`
|
||||
|
||||
- Abandon revisions, without modifying the contents of their children:
|
||||
|
||||
`jj abandon --restore-descendants {{revsets}}`
|
16
pages/common/jj-revert.md
Normal file
16
pages/common/jj-revert.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# jj revert
|
||||
|
||||
> Apply the reverse of the given revision(s).
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-revert>.
|
||||
|
||||
- Apply the reverse of the revisions specified by the given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.):
|
||||
|
||||
`jj revert {{[-r|--revisions]}} {{revsets}}`
|
||||
|
||||
- Apply the reverse on top of specified revisions:
|
||||
|
||||
`jj revert {{[-r|--revisions]}} {{revsets}} {{[-d|--destination]}} {{revsets}}`
|
||||
|
||||
- Apply the reverse before and/or after specified revisions:
|
||||
|
||||
`jj revert {{[-r|--revisions]}} {{revsets}} {{[-B|--insert-before]}} {{revsets}} {{[-A|--insert-after]}} {{revsets}}`
|
16
pages/common/jj-show.md
Normal file
16
pages/common/jj-show.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# jj show
|
||||
|
||||
> Show commit description and changes in a revision.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-show>.
|
||||
|
||||
- Show commit description and changes in a revision:
|
||||
|
||||
`jj show {{revset}}`
|
||||
|
||||
- Show a summary of changes in a revision:
|
||||
|
||||
`jj show {{[-s|--summary]}} {{revset}}`
|
||||
|
||||
- Show a histogram of changes in a revision:
|
||||
|
||||
`jj show --stat {{revset}}`
|
12
pages/common/jj-simplify-parents.md
Normal file
12
pages/common/jj-simplify-parents.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# jj simplify-parents
|
||||
|
||||
> Simplify parent edges for the specified revision(s).
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-simplify-parents>.
|
||||
|
||||
- Simplify parent edges of given revisions:
|
||||
|
||||
`jj simplify-parents {{[-r|--revisions]}} {{revsets}}`
|
||||
|
||||
- Simplify parent edges of given revisions and trees of their descendants:
|
||||
|
||||
`jj simplify-parents {{[-s|--source]}} {{revsets}}`
|
Loading…
Add table
Reference in a new issue