|
NAMEgh-repo-create - Create a new repositorySYNOPSISgh repo create [<name>] [flags]DESCRIPTIONCreate 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. OPTIONS
EXAMPLE# create a repository interactively gh repo create # create a new remote repository and clone it locally gh repo create my-project --public --clone # create a remote repository from the current directory gh repo create my-project --private --source=. --remote=upstream SEE ALSOgh-repo(1)
Visit the GSP FreeBSD Man Page Interface. |