GitHub CLI
Repos Commands
Create and manage GitHub repositories from the command line. Learn to clone, fork, and configure repositories with visibility settings, topics, and more.
10 commands
Pro Tips
Use 'gh repo clone owner/repo' - it's shorter than full git clone URL and auto-configures remotes.
Create repos from templates with 'gh repo create --template owner/template' for consistent project structure.
Use 'gh repo view --web' to quickly open the repository in your browser.
Common Mistakes
Public repositories are visible to everyone. Double-check visibility settings when creating repos.