Man page - hub-create(1)
Packages contains this manual
- hub-alias(1)
- hub-remote(1)
- hub-api(1)
- hub-compare(1)
- hub-push(1)
- hub-checkout(1)
- hub-init(1)
- hub-issue(1)
- hub-pull-request(1)
- hub-browse(1)
- hub-help(1)
- hub-merge(1)
- hub-gist(1)
- hub-cherry-pick(1)
- hub-submodule(1)
- hub-sync(1)
- hub-am(1)
- hub-create(1)
- hub-release(1)
- hub-apply(1)
- hub-fork(1)
- hub-fetch(1)
- hub-pr(1)
- hub-clone(1)
- hub-delete(1)
- hub-ci-status(1)
- hub(1)
apt-get install hub
Manual
hub-create
NAMESYNOPSIS
OPTIONS
EXAMPLES
SEE ALSO
NAME
hub-create - Create a new repository on GitHub and add a git remote for it.
SYNOPSIS
hub create [-poc] [-d DESCRIPTION ] [-h HOMEPAGE ] [[ ORGANIZATION /] NAME ]
OPTIONS
-p, --private
Create a private repository.
-d, --description DESCRIPTION
A short description of the GitHub repository.
-h, --homepage HOMEPAGE
A URL with more information about the repository. Use this, for example, if your project has an external website.
--remote-name REMOTE
Set the name for the new git remote (default: "origin").
-o, --browse
Open the new repository in a web browser.
-c, --copy
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 .
EXAMPLES
$ 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
SEE ALSO
hub-init(1), hub(1)