Is it possible to change the description of a Gitea repository from a command line? Either gitea.exe or git.exe would be fine. I’ve got to import a client’s standalone git library with ~100 repositories to create. I can create them fine using:
git remote add origin https://gitea.mydomain.co.uk:3000/organisation/so1234.git
git push -u origin main
But the description is blank and I’d like to add a more verbose description.
Later… If there is a solution, I assume it’s along these lines:
curl -k -X POST "https://<gitea-url>/api/v1/org/<organization>/repos" -H "content-type: application/json" -H "Authorization: token 45647956a7434b47c04b47c69579fb0123456789" --data '{"name":"<repo-name>"}'