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

NAME

6       hub-clone - Clone a repository from GitHub.
7

SYNOPSIS

9       hub clone [-p] [OPTIONS] [USER/]REPOSITORY [DESTINATION]
10

OPTIONS

12       -p
13           (Deprecated) Clone private repositories over SSH.
14
15       [USER/]REPOSITORY
16           USER defaults to your own GitHub username.
17
18       DESTINATION
19           Directory name to clone into (default: REPOSITORY).
20

PROTOCOL USED FOR CLONING

22       The git: protocol will be used for cloning public repositories, while
23       the SSH protocol will be used for private repositories and those that
24       you have push access to. Alternatively, hub can be configured to use
25       HTTPS protocol for everything. See "HTTPS instead of git protocol" and
26       "HUB_PROTOCOL" of hub(1).
27

EXAMPLES

29           $ hub clone rtomayko/ronn
30           > git clone git://github.com/rtomayko/ronn.git
31

SEE ALSO

33       hub-fork(1), hub(1), git-clone(1)
34
35
36
37
38hub version 2.14.2                20 Jan 2022                     hub-clone(1)
Impressum