1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-04 07:15:24 +02:00

Add examples of revsets.

This commit is contained in:
Agam Agarwal 2025-07-01 09:13:21 +05:30
parent d5a9c4c247
commit adc52662e2
3 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@
`jj diff` `jj diff`
- Show changes of given revsets: - Show changes of given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.):
`jj diff {{[-r|--revisions]}} {{revsets}}` `jj diff {{[-r|--revisions]}} {{revsets}}`

View file

@ -7,6 +7,6 @@
`jj log` `jj log`
- Show only given revsets: - Show only given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.):
`jj log {{[-r|--revisions]}} {{revsets}}` `jj log {{[-r|--revisions]}} {{revsets}}`

View file

@ -4,11 +4,11 @@
> Some subcommands such as `log`, `desc`, `new`, `git`, etc. have their own usage documentation. > Some subcommands such as `log`, `desc`, `new`, `git`, etc. have their own usage documentation.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/>. > More information: <https://jj-vcs.github.io/jj/latest/cli-reference/>.
- Update description of the given revision(s): - Update description of the revisions specified by given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.):
`jj describe {{[-r|--revision]}} {{revsets}}` `jj describe {{[-r|--revision]}} {{revsets}}`
- Create a new commit/revision on top of the given revision(s): - Create a new commit/revision on top of the revisions specified by the given revsets:
`jj new {{revsets}}` `jj new {{revsets}}`