Skip to main content
Ottili Coder

Coder and Git

How Ottili Coder works inside your Git workflow with branches, commits, and pull requests.

Ottili Coder works inside your existing Git repository. It does not keep a separate copy of your code; it branches, commits, and opens pull requests like a teammate would.

What Coder does in Git

  • Creates a branch for the run's work.
  • Commits changes as tasks complete, with clear, reviewable history.
  • Opens a pull request when the run finishes, so you review before merging.
  • Respects your existing branch protection and review rules.

Local vs cloud

  • In a local run*, Coder operates directly on your working repository.
  • In a cloud run*, your repository and task context are sent to a managed workspace, and the resulting branch and PR return to the same repository.

Reviewing Coder's changes

Treat a Coder pull request like any other. Read the diff, run the test suite, and merge when you are satisfied. Because each task maps to a change, you can review work at the granularity you prefer.

Related

  • Set up a [project](/docs/coder-projects) to point Coder at a repo.
  • See how risky Git steps go through [approvals](/docs/coder-approvals).

Was this article helpful?