Docs/Git in Chorium

Git in Chorium

When an agent finishes, you save and combine its work with git — without leaving Chorium. This page covers the whole flow, and explains the git terms as they come up.

New to git? Saving work in git has three moves: stage the files you want to keep, commit them as a snapshot with a message, and merge that branch back into your main line of work. Chorium gives each of these a button.

The git toolbar

Inside a workspace, a row of git actions sits in the toolbar:

Stage   Commit   Pull   Push   Merge   Log

Stage the changes you want

Stage opens a list of the files the agent changed. Tick the ones you want to include, and open any file to read a diff — a side-by-side of what changed, with additions and removals highlighted. The diff view is read-only; it's for reviewing, not editing. Staging lets you keep some changes and leave others for a separate commit.

Commit with an AI-drafted message

Commit turns your staged changes into a saved snapshot. Chorium drafts the commit message for you — a subject line and a short body describing what changed — and you can edit it before saving. This works for ordinary commits and for wrapping up a merge.

Pull and push

Both are one click in the toolbar.

Merge finished work

Merge combines branches. Because each workspace is on its own branch, merging is how a finished workspace's work rejoins the rest. The Merge menu offers:

If the two branches changed the same lines, git reports a conflict. Chorium detects it and offers to resolve conflicts with the agent's help, or to abort the merge and leave everything as it was.

Review history

Log shows the commit history for the workspace — a read-only list of what's been committed, newest first — so you can see how the work came together.