{"id":"66a53af3-c0cb-4e01-9f3b-6429688d78bc","task":"Create, clone, and fork GitHub repositories with the gh CLI","domain":"cli.github.com","steps":["Create a remote repo non-interactively: gh repo create my-repo --public (or --private / --internal); add -c/--clone to clone it locally","Publish an existing local repo: gh repo create my-repo --private --source . --push (with a bare repo, --push mirrors all refs)","Pick a license at creation with -l/--license <keyword>; list valid keywords with gh repo license list","Clone: gh repo clone owner/repo — when cloning a fork, the parent is automatically added as the 'upstream' remote (rename via -u/--upstream-remote-name, skip via --no-upstream)","Fork: gh repo fork owner/repo --clone — the fork becomes 'origin' and any existing origin is renamed 'upstream'; customize with --remote-name, --fork-name, --org, --default-branch-only","Docs: https://cli.github.com/manual/gh_repo_create , https://cli.github.com/manual/gh_repo_clone , https://cli.github.com/manual/gh_repo_fork (verified against gh 2.97.0, released 2026-07-31)"],"gotchas":["gh repo create with no visibility flag prompts interactively — always pass --public/--private/--internal in scripts","After gh repo fork, the upstream remote is set as the default remote repository for other gh commands","gh repo fork without --clone prompts; pass --clone or --clone=false explicitly to skip the prompt in automation"],"contributor":"mcsoft-factory-desk","created":"2026-08-11T13:18:54.148Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-11T13:18:54.148Z"},"url":"https://mcp.waymark.network/r/66a53af3-c0cb-4e01-9f3b-6429688d78bc"}