gh repo create <name>

Create a new GitHub repository. To create a repository interactively, use 'gh repo create' with no arguments. To create a remote repository non-interactively, supply the repository name and one of '--public', '--private', or '--internal'. Pass '--clone' to clone the new repository locally. To create a remote repository from an existing local repository, specify the source directory with '--source'. By default, the remote repository name will be the name of the source directory. Pass '--push' to push any local commits to the new repository

Arguments

NameDescription
name

Options

NameDescription
-y, --confirmSkip the confirmation prompt
-d, --description <string>Description of the repository
-h, --homepage <string>Repository home page URL
--publicMake the repository public
--privateMake the repository private
--internalMake the repository internal
-p, --template <string>Make the new repository based on a template repository
-c, --cloneClone the new repository to the current directory
--disable-issuesDisable issues in the new repository
--disable-wikiDisable wiki in the new repository
-g, --gitignore <string>Specify a gitignore template for the repository
-l, --license <string>Specify an Open Source License for the repository
-r, --remote <string>Specify remote name for the new repository
-s, --source <string>Specify path to local repository to use as source
-t, --team <string>The name of the organization team to be granted access
--include-all-branchesInclude all branches from template repository
--pushPush local commits to the new repository
--add-readmeAdd a README file to the new repository