Skip to content

Bookmarks

Understanding Bookmarks

In Jujutsu, bookmarks are named references similar to Git branches. A local bookmark normally targets one revision and may explicitly track a remote bookmark; concurrent moves can also leave a bookmark with conflicted targets.

Bookmark Transient

Key: b (majutsu-bookmark)

Open the bookmark transient.

Transient actions:

Key: l (majutsu-bookmark-list)

List all bookmarks.

Key: c (majutsu-bookmark-create)

Create a new bookmark at point.

Key: a (majutsu-bookmark-advance)

Advance bookmarks using jj's configured default selection and target revset.

Key: A (majutsu-bookmark-advance-to)

Advance bookmarks using jj's default selection to an explicit target revset.

Key: p (majutsu-bookmark-advance-patterns)

Advance specific bookmark name(s)/pattern(s) using jj's configured default target revset.

Key: s (majutsu-bookmark-set)

Set or move an existing bookmark to the current revision.

Key: m (majutsu-bookmark-move)

Move a bookmark.

Key: M (majutsu-bookmark-move-allow-backwards)

Move bookmark(s) with --allow-backwards.

Key: r (majutsu-bookmark-rename)

Rename a bookmark.

Key: d (majutsu-bookmark-delete)

Delete a bookmark locally and record the deletion for propagation on a later push; this command does not contact a remote itself.

Key: f (majutsu-bookmark-forget)

Forget a bookmark locally without affecting remotes.

Key: t (majutsu-bookmark-track)

Track a remote bookmark to create a local one.

Key: u (majutsu-bookmark-untrack)

Untrack a remote bookmark.

Bookmark lists nest tracked remote bookmarks under their local bookmark. When a bookmark target is conflicted, its removed and added targets appear as child revision sections identified by their full commit IDs.