Source-control reference
Optional file inspection and Git controls alongside agent conversations.
Agents normally handle Git, including commits, publication, and pull requests, while you direct work and review results in conversation. The source-control view remains available for inspecting files and diffs or taking Git actions yourself. These controls do not replace repository permissions, required reviews, or approval for production changes.
Select the work you are reviewing
Open source control and use the repository/worktree selector to choose the conversation’s working copy. Confirm the displayed branch before taking a Git action. Repository history and a conversation’s live worktree are different views; choose the live worktree when reviewing uncommitted edits.
Inspect changed files and their diffs. Check the staged and unstaged changes, and make sure the proposed commit contains only the intended work.
Commit and push
Enter a commit message and choose Commit to save changes in the workspace’s Git history. A local commit is not yet published to GitHub.
Commit options also offers Commit & Push. Confirm the remote branch in its dialog. If the commit succeeds but publishing fails, retry Push after resolving the error; the commit already exists.
More Git actions
| Action | What it does |
|---|---|
| Fetch | Updates remote history without changing your files. |
| Pull | Pulls updates into the current branch; diverged history stops without merging. |
| Push | Publishes commits to the remote branch you confirm. |
| Create Pull Request | Creates or opens a pull request for an already published branch. |
| Refresh | Reloads the source-control view. |
Resolve conflicts deliberately and preserve other people’s changes. Check the result after publishing, including the branch and any pull request checks.