Skip to content

Get repository status

GET
/api/v1/git/repository/status

Get the current status of the repository, including the current HEAD commit and branch.

Responses

Repository status

application/json
JSON
{
"currentBranch": "string",
"head": {
"author": {
"email": "string",
"name": "string"
},
"body": "string",
"committer": {
"email": "string",
"name": "string"
},
"id": "string",
"summary": "string",
"time": "string"
}
}

Samples