aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index 96fdad3..43f852b 100644
--- a/README.md
+++ b/README.md
@@ -177,15 +177,22 @@ gitctl sync
End-to-end agent flow:
```
-gitctl repo create publisher --section SlackBuilds --desc "..."
+gitctl -y repo create publisher --section SlackBuilds --desc "..."
gitctl repo add-remote publisher --remote-name origin
git push -u origin master
```
+`-y` skips the y/N so an agent can drive create; the push itself still prompts
+for the SSH key, so it is not fully unattended.
## Notes
- `repo create` shows the gitolite.conf diff and asks before committing. On
decline it reverts the conf edit, leaving a clean tree.
+- `-y` / `--yes` (a global flag, so it goes BEFORE the subcommand:
+ `gitctl -y repo create ...`) skips that y/N confirmation. The diff is still
+ printed. It does NOT make creation unattended: the phase-1 push still needs
+ the SSH key password or smartcard touch, which `-y` cannot supply. It is
+ never honored by a destructive delete.
- `repo list` lists every bare repo on disk, not just the cgit-exposed ones, so
private repos show too. A `VIS` column marks each `PUB` (present in cgitrc) or
`PRIV`; on a terminal public rows are green and private dim. The description