Skip to content
Docs
Esc
navigateopen⌘Jpreview
On this page

Review and publish changes

Inspect the right worktree, commit reviewed files, and publish to GitHub.

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.

Was this page helpful?