From e39d0d0dc4021890e46511cc31fc47d8102251da Mon Sep 17 00:00:00 2001 From: Mazeto Date: Wed, 15 Jan 2020 11:52:55 -0700 Subject: [PATCH] newrepo documented --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e0261c3..d0c5453 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ # gitea.sh -Gitea bash client \ No newline at end of file +A Gitea bash client. + +## Setup + +Go to +[tildegit.org/user/settings/applications](https://tildegit.org/user/settings/applications) +and generate a new token. Copy the 32 bytes string that will +appear on the top of the page and save it somewhere safe. + + echo -en > gitea-token + +## Create a new repository. + + gitea.sh newrepo reponame "Repo's description" false "CC0-1.0" true "" "" "" $(cat gitea-token)