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
- https://github.com/jj-vcs/jj/releases/tag/v0.39.0
- https://github.com/jj-vcs/jj/blob/v0.39.0/cli/src/commands/bookmark/rename.rs
Check the installed version and the source before using it. Entry JSON