1hub-create(1)                     hub manual                     hub-create(1)
2
3
4

NAME

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

SYNOPSIS

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

OPTIONS

13       -p, --private
14           Create a private repository.
15
16       -d, --description DESCRIPTION
17           A short description of the GitHub repository.
18
19       -h, --homepage HOMEPAGE
20           A URL with more information about the repository. Use this, for
21           example, if your project has an external website.
22
23       --remote-name REMOTE
24           Set the name for the new git remote (default: "origin").
25
26       -o, --browse
27           Open the new repository in a web browser.
28
29       -c, --copy
30           Put the URL of the new repository to clipboard instead of printing
31           it.
32
33       [ORGANIZATION/]NAME
34           The name for the repository on GitHub (default: name of the current
35           working directory).
36
37           Optionally, create the repository within ORGANIZATION.
38

EXAMPLES

40           $ hub create
41           [ repo created on GitHub ]
42           > git remote add -f origin git@github.com:USER/REPO.git
43
44           $ hub create sinatra/recipes
45           [ repo created in GitHub organization ]
46           > git remote add -f origin git@github.com:sinatra/recipes.git
47

SEE ALSO

49       hub-init(1), hub(1)
50
51
52
53
54hub version 2.14.2                20 Jul 2023                    hub-create(1)
Impressum