mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 22:35:23 +02:00
Merge bd17eaa017
into b2e054b7fb
This commit is contained in:
commit
e1fbb0855b
1 changed files with 29 additions and 0 deletions
29
pages/common/jj-bookmark.md
Normal file
29
pages/common/jj-bookmark.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# jj bookmark
|
||||
|
||||
> Manage bookmarks in a `jj` repository.
|
||||
> When using a Git backend, bookmarks correspond to Git branches.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-bookmark>.
|
||||
|
||||
- Create a new bookmark at the given revision:
|
||||
|
||||
`jj bookmark create {{[-r|--revision]}} {{revision}} {{name}}`
|
||||
|
||||
- List all existing bookmarks and their targets:
|
||||
|
||||
`jj bookmark list`
|
||||
|
||||
- Move an existing bookmark to another revision:
|
||||
|
||||
`jj bookmark move {{[-t|--to]}} {{revision}} {{name}}`
|
||||
|
||||
- Track given remote bookmarks:
|
||||
|
||||
`jj bookmark track {{name}}@{{remote}}`
|
||||
|
||||
- Delete a bookmark, and propagate the deletion to remotes on the next push:
|
||||
|
||||
`jj bookmark delete {{name}}`
|
||||
|
||||
- Forget a bookmark locally, without marking its deletion to be pushed:
|
||||
|
||||
`jj bookmark forget {{name}}`
|
Loading…
Add table
Reference in a new issue