{"registry_version":"2026.1025.387","generated_at":"2026-10-25T06:27:00Z","content_sha256":"089d16f627d9365e3d0663cc8069203706d7cb23a76c332226e29686968811a5","signed":true,"signature":{"key_id":"ed25519:74ca19268e364242","algorithm":"ed25519","expires_at":"2026-11-24T06:27:09Z","expired":false,"manifest":"/registry/manifest.json"},"entry_sha256":"191b2453ce278b1baddc5f7e3aa8a1a3b1f0af08d7c7d60d79ee8262738036b2","entry":{"id":"github/private-repo","name":"GitHub private repository (from an existing local project)","vendor":"GitHub","summary":"Create a private repository under your account or organisation and push the current project with the GitHub CLI.","aliases":["github","gh"],"category":"devtools","group":"C","homepage":"https://github.com/","docs":["https://cli.github.com/manual/gh_repo_create"],"status":"verified","last_verified":"2026-10-24","last_researched":"2026-10-24","verified_by":["jon"],"sources":[{"id":"owner-session","url":"https://github.com/","title":"verapli owner's live repository setup with gh (first-hand)","accessed":"2026-10-24","supports":"gh repo create --private --source . --push works; with several gh accounts the right account's token must be used","kind":"first_hand"}],"allowed_domains":["github.com"],"account_model":{"accounts":[{"name":"GitHub account","kind":"personal","owned_by":"the person","required":true},{"name":"GitHub organisation","kind":"organisation","parent":"GitHub account","required":false,"note":"Optional; the repo can live under the personal account instead."}]},"prerequisites":[{"need":"GitHub CLI (gh) installed and a local git repository with at least one commit"}],"steps":[{"id":"gh-login","title":"Sign in with the GitHub CLI","summary":"Run `gh auth login` and sign in in the browser yourself.","route":"guided","depends_on":[],"gate":"human_login"},{"id":"pick-account","title":"Make sure gh uses the right account","summary":"If you have more than one gh account, check `gh auth status` and switch to the account that owns the target organisation (`gh auth switch`), or pass that account's token, before creating the repo.","route":"guided","depends_on":["gh-login"],"gate":"none","recovery":[{"hiccup":"The repo is created under the wrong account, or creation is refused for the organisation","fix":"Switch gh to the account with access to the organisation (gh auth switch) and retry.","source":"owner-session"}],"sources":["owner-session"]},{"id":"create-repo","title":"Create the private repo and push","summary":"From the project folder run `gh repo create <owner>/<name> --private --source . --push`. This creates the private repository, adds it as the origin remote and pushes the current branch.","route":"api","depends_on":["pick-account"],"gate":"human_submit","sources":["owner-session"]}],"outputs":[],"api_provisioning":{"available":"yes","notes":"gh and the GitHub REST API can create repositories.","docs":["https://cli.github.com/manual/gh_repo_create"]}}}