Closed
Description
as title
try: curl -X POST "https://try.gitea.io/api/v1/repos/abcKing/repo_uninit/contents/README.md?token=yourtocken" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"author\": { \"email\": \"[email protected]\", \"name\": \"string\" }, \"branch\": \"string\", \"committer\": { \"email\": \"[email protected]\", \"name\": \"string\" }, \"content\": \"c3RyaW5nCg==\", \"dates\": { \"author\": \"2020-04-06T01:37:35.137Z\", \"committer\": \"2020-04-06T01:37:35.137Z\" }, \"message\": \"string\"}"
It return:
{
"message": "branch does not exist [name: string]",
"url": "https://try.gitea.io/api/swagger"
}
Gitea Version: 1.12.0+dev-89-gb264c3039