Configure default jj fetch targets
Introduced 2026-05-07 · score 0.91
HOW TO USE IT
When you want to choose default fetch targets for a remote, set its `fetch-bookmarks` and/or `fetch-tags` string pattern in jj configuration. `fetch-tags` is experimental.
[remotes.<name>]
fetch-bookmarks = "~gh-pages"
fetch-tags = "v*"WHY THIS HELPS
Configure which bookmarks and tags jj fetches by default when working in a repository.
REQUIREMENTS AND LIMITATIONS
- Version: v0.41.0
- remotes.<name>.fetch-bookmarks: String pattern matching bookmark names to fetch. If unset, default fetch refspecs are read from the remote’s Git configuration.
- remotes.<name>.fetch-tags: Experimental string pattern matching tag names to fetch. Matching tags are fetched as tracked `<name>@<remote>` tags, and corresponding local tags are created.
- Prerequisite: Configure these as jj TOML settings for a remote; the documentation gives `[remotes.<name>]` as the table form.
FIRST-PARTY EVIDENCE
- https://github.com/jj-vcs/jj/releases/tag/v0.41.0
- https://github.com/jj-vcs/jj/blob/v0.41.0/docs/config.md
Check the installed version and the source before using it. Entry JSON