DOKK / manpages / debian 10 / hub / hub-create.1.en
HUB-CREATE(1) Hub Manual HUB-CREATE(1)

hub-create - Create a new repository on GitHub and add a git remote for it.

hub create [-poc] [-d DESCRIPTION] [-h HOMEPAGE] [[ORGANIZATION/]NAME]

Create a private repository.
Use this text as the description of the GitHub repository.
Use this text as the URL of the GitHub repository.
Open the new repository in a web browser.
Put the URL of the new repository to clipboard instead of printing it.
[ORGANIZATION/]NAME
The name for the repository on GitHub (default: name of the current working directory).
Optionally, create the repository within ORGANIZATION.

$ hub create
[ repo created on GitHub ]
> git remote add -f origin git@github.com:USER/REPO.git
$ hub create sinatra/recipes
[ repo created in GitHub organization ]
> git remote add -f origin git@github.com:sinatra/recipes.git

hub-init(1), hub(1)

March 2019 GITHUB