Linux command
jj-bookmark 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Create bookmark at current revision
jj bookmark create [name]
Create bookmark at specific revision
jj bookmark create [name] -r [revision]
List bookmarks
jj bookmark list
Delete bookmark
jj bookmark delete [name]
Move bookmark
jj bookmark move [name] --to [revision]
说明
jj bookmark manages named references to revisions in Jujutsu. Similar to Git branches, bookmarks point to specific commits and can be pushed to/pulled from remotes. Bookmarks follow commits when they are rewritten.
参数
- -r, --revision _rev_
- Target revision.
- --to _rev_
- Destination for move.
FAQ
What is the jj-bookmark command used for?
jj bookmark manages named references to revisions in Jujutsu. Similar to Git branches, bookmarks point to specific commits and can be pushed to/pulled from remotes. Bookmarks follow commits when they are rewritten.
How do I run a basic jj-bookmark example?
Run `jj bookmark create [name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -r, --revision _rev_ do in jj-bookmark?
Target revision.