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>
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.

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
Contribute Community