mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-21 08:31:27 -05:00
Fix bash code block
This commit is contained in:
parent
3327fbc39a
commit
8a8b6821ba
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ TAGS="sqlite" make build generate-swagger
|
||||||
./gitea admin user generate-access-token -u me -t token --scopes write:activitypub,write:repository,write:user
|
./gitea admin user generate-access-token -u me -t token --scopes write:activitypub,write:repository,write:user
|
||||||
|
|
||||||
# create a repo
|
# create a repo
|
||||||
|
```bash
|
||||||
curl -X 'POST' \
|
curl -X 'POST' \
|
||||||
'http://localhost:3000/api/v1/user/repos?token=ReplaceThisWithYourGeneratedToken' \
|
'http://localhost:3000/api/v1/user/repos?token=ReplaceThisWithYourGeneratedToken' \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
|
|
Loading…
Reference in a new issue