diff options
| author | Danilo M. <danix@danix.xyz> | 2026-06-29 18:25:25 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-06-29 18:25:25 +0200 |
| commit | 60eb5e2c3c793cd7b39748bcbde647f3b35abb6a (patch) | |
| tree | 774afce50dd9896a6b7afe1e540cb9d56a321a49 /skills | |
| parent | 9359ec0eaedf8b8f8b68a33b96507589e0e2c651 (diff) | |
| download | gitctl-60eb5e2c3c793cd7b39748bcbde647f3b35abb6a.tar.gz gitctl-60eb5e2c3c793cd7b39748bcbde647f3b35abb6a.zip | |
docs: document repo create --private in the skill
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'skills')
| -rw-r--r-- | skills/gitctl/SKILL.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/skills/gitctl/SKILL.md b/skills/gitctl/SKILL.md index a340546..726ce33 100644 --- a/skills/gitctl/SKILL.md +++ b/skills/gitctl/SKILL.md @@ -37,6 +37,13 @@ Phase 1 edits the local gitolite-admin clone, shows the diff, **asks y/N**, commits, pushes, then polls until gitolite builds the bare repo. Phase 2 adds it to cgit under the section and (if given) sets the description. +For a **private repo** (not exposed on the public cgit index), use `--private`: +``` +gitctl repo create <name> --private +``` +This runs Phase 1 only: the repo is never written to cgitrc. `--section` is not +required (and ignored) with `--private`; the repo shows as `PRIV` in `repo list`. + Pass global **`-y` BEFORE the subcommand** (`gitctl -y repo create ...`) to skip the y/N. The diff still prints. `-y` does NOT remove the SSH-key step: the phase-1 push still needs the key password / smartcard touch, so creation is |
