Skip to main content
POST /v1/agents/runtime/{runtime_id}/git/pull
remote and branch are both optional. With neither, git pulls the current branch’s configured upstream. Supplying branch without remote pulls that branch from origin. A pull that would need a merge can fail — for example when the working tree is dirty, or when git has no configured merge strategy for divergent branches. The reason is returned in stderr with a non-zero exit_code. Requires egress — see network access. Pulling from a private repository needs its own auth_token. Credentials are never stored in the checkout, so the token supplied at clone time does not carry over.

Parameters

Response