Skip to main content

Git Checkout

POST 

/git/checkout

Switch to an existing local branch (fail-closed on dirty tree).

Side effects: git checkout (moves HEAD). Raises: HTTPException 400 on a content-mode project (GitError from a dirty tree / unknown branch / git failure bubbles to the global VyasaError handler → 400).

Request

Responses

Successful Response