1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 18:55:24 +02:00
This commit is contained in:
Agam Agarwal 2025-07-01 15:13:28 +05:30 committed by GitHub
commit 30deef625d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 60 additions and 0 deletions

View 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
View 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
View 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}}`

View 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}}`