Command reference
This directory is the user-facing reference for the four exported CopyGitHubRepo commands. For implementation architecture and engineering contracts, see the deeper documents linked from each command page.
| Command | Use it for | Changes GitHub state? |
|---|---|---|
Start-CopyGitHubRepositoryWizard |
Guided, interactive repository-copy workflow | Yes, only after plan review and confirmation |
Copy-GitHubRepository |
Scriptable planning and repository migration | Yes, except with -PlanOnly or -WhatIf |
Get-GitHubRepository |
Repository discovery and metadata lookup | No |
Test-GitHubRepositoryMigration |
Read-only verification of a completed migration | No |
Choosing a command
Use Start-CopyGitHubRepositoryWizard when a person wants a guided flow with source selection, safe defaults, plan review, Back/Next/Cancel navigation, and explicit execution confirmation.
Use Copy-GitHubRepository for scripts, automation, repeatable planning, explicit migration options, or when you need direct control over parameters such as content mode, visibility, reporting, or same-name replacement.
Use Get-GitHubRepository to inspect or search repositories without changing them.
Use Test-GitHubRepositoryMigration to independently verify Git content after a Snapshot or FullHistory migration.
Deeper documentation
- Product contract — supported product behavior and safety guarantees.
- Command design — engineering-level public command contracts.
- Architecture — layers, verification, recovery, Git/LFS, and settings-restoration design.
- Wizard contract — detailed guided interaction contract.
- Host support — supported GitHub host boundary.
- Installation security — installation trust model.
- Versioning and releases — release and publication contract.