Files
openchamber/packages/docs/content/docs/git.mdx
T
Bohdan Triapitsyn 967704a9b9 docs: add OpenChamber feature docs and translations (#1400)
* docs: add OpenChamber feature docs and translations

Add 30 new docs pages covering OpenChamber-specific workflows and setup:
OpenCode server, providers/models/agents, MCP, skills, commands & snippets,
usage, projects, context, notes/todos/plans, scheduled tasks, project actions,
preview, worktrees, multi-run, git & GitHub, magic prompts, git identities,
mobile/PWA, security, notifications, voice, project icons, remote instances,
desktop browser, updates, and three troubleshooting pages.

Rebuild sidebar into eight task-oriented sections and translate every new
page into all six supported locales (uk, zh-cn, es, pt-br, ko, pl).

* docs: surface new sections on homepage and cross-link tunnels

Add an Explore block to the docs homepage (all seven locales) linking to
the new section anchors, and cross-link the Tunnels page to Security and
PWA & Mobile.
2026-05-24 14:15:55 +03:00

42 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Git & GitHub Workflows
description: Stage, commit, and manage branches without leaving OpenChamber.
---
# Git & GitHub Workflows
OpenChamber has a built-in git view so you can review changes, commit, and manage branches without switching to a terminal. Open it from the **Git** tab in the right sidebar.
## Review and commit
The git view splits your changes into **staged** and **unstaged**:
- click a file's **+** to stage it, or **** to unstage it
- stage or unstage everything in a group at once
- click a file to see its diff
Then write a commit message and commit. You can have OpenChamber **generate a commit message** from your staged changes — it uses the current session's model, so you need a session open.
## Branches and history
The git view also covers the everyday rest of git:
- create, switch, rename, and delete branches
- push, pull, and fetch
- browse history and per-commit diffs
- stash and restore changes
## Pull requests
Connect GitHub (see [GitHub Issues & PRs](/github/)) and the **PR** tab lets you open a pull request, update it, mark it ready, or merge it — and generate its title and description the same way as commit messages.
## Bringing in conflicts
If a merge, rebase, or integrate hits a conflict, OpenChamber shows what's stuck and lets you resolve it — including handing it to the agent.
## Related
- [GitHub Issues & PRs](/github/) — connect GitHub and start work from issues
- [Worktree Sessions](/worktrees/) — isolate a branch in its own folder
- [Git Identities](/git-identities/) — commit as the right person per repo