CmdID

CmdID / Commands

gh-repo-create

Create a new GitHub repository. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create a new GitHub repository. Note: --public, --private, or --internal is required when not running interactively.

Create a new repository interactively

gh repo [newIdentify

Create a private repository from the current directory

gh repo [new --source . --privateIdentify

Create a public repository from the current directory

gh repo [new --source . --publicIdentify

Create a public repository with a specified name and description

gh repo [new repo_name --description "repo_description" --publicIdentify

Clone the new repository locally after creation

gh repo [new repo_name --clone --publicIdentify