sincecutoff.com
← all changes

jj bookmark rename can overwrite an existing bookmark

Introduced 2026-03-04 · score 0.92

HOW TO USE IT

When renaming a bookmark to a name that already exists, run `jj bookmark rename` with `--overwrite-existing` to replace the existing bookmark.

jj bookmark rename --overwrite-existing <old> <new>

WHY THIS HELPS

Rename a bookmark to a name that already exists in the repository.

REQUIREMENTS AND LIMITATIONS

  • Version: v0.39.0
  • old (required): Existing bookmark name to rename.
  • new (required): New bookmark name.
  • --overwrite-existing: Allow renaming when the new bookmark name already exists.
  • The flag allows the existing bookmark with the new name to be replaced.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card