mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-14 10:55:25 +02:00
jj, jj-status, jj-bookmark: add option placeholder for aliases (#17104)
This commit is contained in:
parent
6b4ccdfb98
commit
e0fc8d7563
3 changed files with 8 additions and 8 deletions
|
@ -6,24 +6,24 @@
|
|||
|
||||
- Create a new bookmark at the given revision:
|
||||
|
||||
`jj bookmark create {{[-r|--revision]}} {{revision}} {{name}}`
|
||||
`jj {{[b|bookmark]}} {{[c|create]}} {{[-r|--revision]}} {{revision}} {{name}}`
|
||||
|
||||
- List all existing bookmarks and their targets:
|
||||
|
||||
`jj bookmark list`
|
||||
`jj {{[b|bookmark]}} {{[l|list]}}`
|
||||
|
||||
- Move an existing bookmark to another revision:
|
||||
|
||||
`jj bookmark move {{[-t|--to]}} {{revision}} {{name}}`
|
||||
`jj {{[b|bookmark]}} {{[m|move]}} {{[-t|--to]}} {{revision}} {{name}}`
|
||||
|
||||
- Track given remote bookmarks:
|
||||
|
||||
`jj bookmark track {{name}}@{{remote}}`
|
||||
`jj {{[b|bookmark]}} {{[t|track]}} {{name}}@{{remote}}`
|
||||
|
||||
- Delete a bookmark, and propagate the deletion to remotes on the next push:
|
||||
|
||||
`jj bookmark delete {{name}}`
|
||||
`jj {{[b|bookmark]}} {{[d|delete]}} {{name}}`
|
||||
|
||||
- Forget a bookmark locally, without marking its deletion to be pushed:
|
||||
|
||||
`jj bookmark forget {{name}}`
|
||||
`jj {{[b|bookmark]}} {{[f|forget]}} {{name}}`
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
|
||||
- Show high-level status of the repository:
|
||||
|
||||
`jj status`
|
||||
`jj {{[st|status]}}`
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
- 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 {{[desc|describe]}} {{[-r|--revision]}} {{revsets}}`
|
||||
|
||||
- Create a new commit/revision on top of a given revision :
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue