Skip to main content
POST
/
api
/
v1
/
git
/
branches
/
{name}
/
checkout
Checkout branch
curl --request POST \
  --url http://localhost:3000/api/v1/git/branches/{name}/checkout \
  --cookie nut-session=
{
  "success": true,
  "data": {}
}

Authorizations

nut-session
string
cookie
required

Session cookie authentication

Path Parameters

name
string
required

Branch name

Response

Branch checked out

success
boolean
required
data
object