Skip to content

Git

Press g to open the Git menu. It lists push and fetch commands for the current context.

Git menu

All configured remotes are shown at the top of the menu. Press tab / shift+tab to cycle between them — changing the selected remote changes which remote all commands in the list target. You can also click a remote name directly.

  • p: filter to push commands. Pressing p again immediately executes the default push for the selected remote.
  • f: filter to fetch commands. Pressing f again immediately executes the default fetch for the selected remote.

When a category filter is active, item shortcut keys become available.

Commands shown vary based on the selected remote and any highlighted/selected revisions:

KeyCommand
pgit push --remote <remote> — push tracking bookmarks in the current revset
agit push --all --deleted --remote <remote>
cgit push --change <change_id> --remote <remote>
bgit push --bookmark <bookmark>... --remote <remote> — push eligible bookmarks on the selected revisions
dgit push --deleted --remote <remote>
tgit push --tracked --remote <remote>

Per-bookmark push commands are also generated automatically for each bookmark on the selected revisions.

To push all eligible bookmarks from the highlighted revision or a multi-selection in one command, open the Git menu with g, press p to filter push commands, then press b. Eligible bookmarks are non-conflicted local bookmarks that are either new or tracked on the selected remote. Duplicate names are collapsed; remote-only bookmarks, bookmarks tracked on another remote, and bookmarks present on the selected remote but not tracked there are skipped.

KeyCommand
fgit fetch --remote <remote>
tgit fetch --tracked --remote <remote>
agit fetch --all-remotes
  • /: free text filter to search commands by name
  • esc: close the menu

When a command started by jjui needs Git or SSH credentials, jjui can show the askpass prompt inside the application instead of letting the subprocess take over the terminal. Usernames are shown normally; passwords and passphrases are masked. The Git menu and command status are hidden while the prompt is open.

This is enabled by default. To use your own credential or SSH prompt instead, disable it in config.toml:

[askpass]
enabled = false

Askpass prompts are not available on Windows. jjui starts normally and the setting is ignored there.

Contribute Community