Skip to main content
Fetch updates from a remote without changing the working tree.
Omitting remote runs a plain git fetch, which uses the branch’s configured upstream. Fetch updates remote-tracking refs only; it never changes the working tree. Requires egress — see network access. Fetching 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

Endpoint

POST /v1/agents/runtime/{runtime_id}/git/fetch