diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -160,7 +160,7 @@ ssh git_push info # gitolite access check Or source it from `~/.bashrc`. It completes subcommands and flags, and pulls live values from the server (one ssh call each, only at the relevant position): section names after `--section`, and repo names for the `desc`, - `delete`, and `add-remote` arguments. + `move`, `delete`, and `add-remote` arguments. 6. (Optional) If you drive gitctl through a Claude Code agent, install the bundled skill so the agent knows when and how to use it: ``` @@ -177,6 +177,7 @@ gitctl repo create secrets --private gitctl repo list gitctl repo desc publisher "a new description" gitctl repo add-remote publisher --remote-name origin +gitctl repo move publisher --section Archived gitctl repo delete publisher gitctl sync ``` @@ -207,6 +208,9 @@ for the SSH key, so it is not fully unattended. 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 comes from each repo's `description` file, truncated to 60 chars. +- `repo move` refiles a public repo under another cgit section, creating the + section first if it is missing. Only cgitrc changes: the gitolite stanza and + the bare repo stay as they are. Idempotent. - `repo delete` removes a repo from all three places it lives: the gitolite stanza (committed and pushed first), the cgit block, and the bare repo, which is MOVED to the server's trash dir (`/var/lib/gitolite3/trash`, |
