jj bookmark
Manage bookmarks in a `jj` repository. When using a Git backend, bookmarks correspond to Git branches.
More info →Options (9)
booleanCreate a new bookmark at the given revision
jj {{[b|bookmark]}} {{[c|create]}} {{[-r|--revision]}} {{revision}} {{name}}booleanCreate a new bookmark at the given revision
jj {{[b|bookmark]}} {{[c|create]}} {{[-r|--revision]}} {{revision}} {{name}}-r, --revisionbooleanCreate a new bookmark at the given revision
jj {{[b|bookmark]}} {{[c|create]}} {{[-r|--revision]}} {{revision}} {{name}}booleanList all existing bookmarks and their targets
jj {{[b|bookmark]}} {{[l|list]}}booleanMove an existing bookmark to another revision
jj {{[b|bookmark]}} {{[m|move]}} {{[-t|--to]}} {{revision}} {{name}}-t, --tobooleanMove an existing bookmark to another revision
jj {{[b|bookmark]}} {{[m|move]}} {{[-t|--to]}} {{revision}} {{name}}booleanTrack given remote bookmarks
jj {{[b|bookmark]}} {{[t|track]}} {{name}}@{{remote}}booleanDelete a bookmark, and propagate the deletion to remotes on the next push
jj {{[b|bookmark]}} {{[d|delete]}} {{name}}booleanForget a bookmark locally, without marking its deletion to be pushed
jj {{[b|bookmark]}} {{[f|forget]}} {{name}}Examples (6)
Create a new bookmark at the given revision
jj [b|bookmark] [c|create] [-r|--revision] revision nameList all existing bookmarks and their targets
jj [b|bookmark] [l|list]Move an existing bookmark to another revision
jj [b|bookmark] [m|move] [-t|--to] revision nameTrack given remote bookmarks
jj [b|bookmark] [t|track] name@remoteDelete a bookmark, and propagate the deletion to remotes on the next push
jj [b|bookmark] [d|delete] nameForget a bookmark locally, without marking its deletion to be pushed
jj [b|bookmark] [f|forget] name