hub-create

creates a new GitHub repository and adds it as a remote

TLDR

Create new GitHub repository
$ hub create
Create with description
$ hub create -d "[description]"
Create private repository
$ hub create -p
Create in organization
$ hub create [org/repo]
Create and open in browser
$ hub create --browse
Create with homepage
$ hub create -h [https://example.com]

SYNOPSIS

hub create [options] [name]

DESCRIPTION

hub create creates a new GitHub repository and adds it as a remote. Uses the current directory name if no name specified. Can create repositories in organizations by specifying org/repo format.

PARAMETERS

-d, --description text

Repository description.
-p, --private
Create private repository.
-h, --homepage url
Repository homepage URL.
-o, --browse
Open the new repository in a web browser.
-c, --copy
Copy the new repository URL to the clipboard instead of printing.
--remote-name name
Set the name for the new git remote (default: origin).

INSTALL

sudo apt install hub
sudo pacman -S hub
sudo zypper install hub
brew install hub
nix profile install nixpkgs#hub

CAVEATS

Hub is deprecated. Consider using gh repo create instead.

SEE ALSO

hub(1), gh-repo-create(1)