aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skills/gitctl/SKILL.md7
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