jj git push default target revisions are configurable
Introduced 2026-10-07 · score 0.91
HOW TO USE IT
When `jj git push` should target a different default revision set, configure `revsets.git-push` with the desired revset. By default, jj pushes tracking bookmarks and tags pointing to revisions in `remote_bookmarks(remote=exact:remote)..@`.
[revsets]
git-push = 'remote_bookmarks(remote=exact:remote)..@'WHY THIS HELPS
Set which revisions `jj git push` targets by default.
REQUIREMENTS AND LIMITATIONS
- Version: v0.46.0
- revsets.git-push: Revset that selects default target revisions for `jj git push`. Tracking bookmarks and tags pointing to the selected revisions are pushed.
- remote: In the documented example, the `remote` symbol expands to the name of the remote, such as `origin`.
FIRST-PARTY EVIDENCE
- https://github.com/jj-vcs/jj/releases/tag/v0.46.0
- https://github.com/jj-vcs/jj/blob/v0.46.0/docs/config.md
Check the installed version and the source before using it. Entry JSON