Skip to main content
Tools and Actions

Code review and commit

Inspect file changes, select the intended scope, and commit or push from Qoder.

After Qoder edits a project, open Review to verify the resulting files before sharing them. The review surface shows the repository diff beside the task, so you can check what changed, keep the intended files, and complete the Git workflow without leaving Qoder.

When to use Review

Use Review when you need to:
  • verify an agent's edits before committing them;
  • compare unstaged, staged, committed, or branch changes;
  • stage or revert an individual file;
  • create a commit, push existing commits, or commit and push in one flow.
Reviewing the diff is separate from reading the agent's final response. Run the relevant tests or manual checks and verify the actual files before committing.

Open Review

In a task with a workspace, open the sidebar and select Add tab → Open review. When Uncommitted changes appear in the environment information on the task monitor, you can also select that count to open Review directly. The Review tab contains:
  • a change-source selector;
  • the total additions and deletions for the selected source;
  • controls for jumping to a file, collapsing changes, and showing the file list;
  • a diff for each changed file, with per-file actions;
  • Commit or push for completing the Git workflow.

Choose which changes to inspect

Open Choose change source at the top of Review and select the source that matches your goal:
SourceWhat it shows
Last turnFile changes associated with the latest task turn.
UncommittedAll changes that have not been committed.
UnstagedChanges that are not in the Git staging area.
StagedChanges currently staged for the next commit.
CommittedChanges from committed work.
BranchChanges for the current branch.
Repository-wide sources can include changes created outside the current task. Confirm the purpose of every file before staging, reverting, or committing it.

Review each file

  1. Choose a change source.
  2. Use Jump to file or Show files to locate a changed file.
  3. Read both additions and deletions in the diff. Use Stacked or Split view as needed; you can also show whitespace-only changes or enable word wrap.
  4. For an unstaged file, select Stage file when it belongs in the next commit. Select Revert file only when you intentionally want to remove its uncommitted changes.
  5. Run the appropriate tests, build, static checks, or manual verification.
Reverting a file removes its uncommitted changes. Review the file carefully before using this action.

Commit or push

1

Open the commit flow

After reviewing the intended changes, select Commit or push.
2

Confirm the branch

In the Commit or push dialog, verify the current branch. Open the branch menu and select New branch if the work should be committed on a new branch.
3

Choose the included changes

Use Include unstaged changes only when those files also belong in this commit. Check the displayed additions and deletions before continuing.
4

Describe and complete the change

Enter a commit message, or leave the field blank to let Qoder generate one. Select Commit to create a local commit, Push to push existing commits, or Commit and push to do both.
A successful commit changes only the local repository. Other collaborators can access it only after the intended branch is pushed successfully.
Before finishing, confirm that the working tree contains no unexpected changes, the required checks passed, and the remote branch is the one you intended to update.