Hi, how do i create a new repo (via curl preferably) using a ‘Template’ and for it to also include ‘Git Content (Default Branch)’?
my first attempt with
curl -X POST "https://my-gitea-server/api/v1/user/repos?access_token=$TOKEN" -H "accept: application/json" -H "content-type: application/json" -d "{\"name\":\"test\", \"template\":\"me/my_template\" }"
only created a new empty repo called ‘test’.
cheers,
Yee.