Skip to content

Git integration

Sirius bundles a first-class git client. The shortcuts below match the defaults in gui/git_panel.py.

Status & diff

ShortcutWhat it does
Ctrl+Shift+GOpen the git panel
Ctrl+K Ctrl+DDiff the current file against HEAD
Ctrl+K Ctrl+SStage current file
Ctrl+K Ctrl+UUnstage current file

Commit

The agent can author commit messages from the staged diff. In L3 Agent mode, ask:

Stage everything in auth/ and write a conventional commit.

You’ll get a diff preview, a proposed git add + git commit -m "…", and a confirmation prompt. Force-push and history rewrites are not exposed to the agent — do those yourself.

Branches

Sirius shows the current branch in the bottom-right status bar. Click it to:

  • Switch branches.
  • Create a new branch from HEAD.
  • Rename the current branch (refuses if it has unpushed commits).

The agent has git_branch(name) for creating a branch, but not for deleting or force-pushing.