mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-09 10:46:25 +00:00
22 lines
698 B
Plaintext
22 lines
698 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# jj revert
|
|
|
|
> Apply the reverse of the given revision(s).
|
|
> More information: <https://docs.jj-vcs.dev/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}}`
|