Skip to content

[FEATURE]: Git integration for branch management in OpenCode Desktop #19433

@ndolinschi

Description

@ndolinschi

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

I’d love to have first-class Git integration in OpenCode Desktop focused on working with branches directly from the UI, without needing to drop into the terminal every time.

Core capabilities that would be very useful:

View current branch name and basic status (clean / uncommitted changes).

List all local branches with quick switching between them.

Create new branches (from current HEAD or a selected base branch) with a small inline form.

Rename and delete local branches with safety checks when the branch is checked out or has unmerged commits.

Simple diff/review mode per branch that reuses the existing Git‑backed review tree, so I can see “changes vs main” or “vs selected branch” inside Desktop.

Optional: one‑click checkout of a remote branch that fetches it and tracks origin.

From a UX perspective, this could live as:

A “Branches” panel in the sidebar, similar to the current session/review tree.

Context menu actions on each branch (Checkout, Create from, Rename, Delete, Compare against current).

Small status line indicator (e.g. on branch feature/foo • N uncommitted changes) that also opens the branch panel when clicked.

Why this helps:

Makes it much easier to keep different agent sessions or tasks isolated by branch while using the Desktop app as the main coding environment.

Reduces context‑switching between OpenCode Desktop and an external Git GUI or terminal for everyday branching workflows.

Aligns nicely with the new Git‑backed session review modes where Git is already the default review source.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions