Create a new repository with prompts.
Section: Repository Basics
Create a repository interactively
bash
bash
gh repo createExplanation
Create a new repository with prompts.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Repository Basics
Create a public repo from current directory
Create a repository from the current directory and push initial contents.
Clone into a specific directory
Clone a repository into a named local folder.
Set default repo context
Set the default repository for future gh commands in this directory.