diff --git a/skills/gitea/SKILL.md b/skills/gitea/SKILL.md index 10b3a17..b4a3522 100644 --- a/skills/gitea/SKILL.md +++ b/skills/gitea/SKILL.md @@ -11,6 +11,7 @@ description: Gitea repository management via REST API. Use when user explicitly - **API Base**: `https://gitea.server10086.icu/api/v1` - **Default Account**: `admin` - **Auth Header**: `Authorization: token $GITEA_TOKEN` +- **Git Remote URL**: `git@gitea.server10086.icu:admin/repo-name.git` (SSH) **Always verify GITEA_TOKEN exists before any operation:** ```bash @@ -66,7 +67,7 @@ curl -X POST "https://gitea.server10086.icu/api/v1/admin/repos" \ git init git add . git commit -m "Initial commit" -git remote add origin "https://gitea.server10086.icu/admin/$REPO_NAME.git" +git remote add origin "git@gitea.server10086.icu:admin/$REPO_NAME.git" git push -u origin main ```