hub-clone - Clone a repository from GitHub.
Contents
Examples
$ hub clone rtomayko/ronn
> git clone git://github.com/rtomayko/ronn.git
Name
hub-clone - Clone a repository from GitHub.
Options
-p
(Deprecated) Clone private repositories over SSH.
[USER/]REPOSITORYUSER defaults to your own GitHub username.
DESTINATION
Directory name to clone into (default: REPOSITORY).
Protocol Used For Cloning
The git: protocol will be used for cloning public repositories, while the SSH protocol will be used for
private repositories and those that you have push access to. Alternatively, hub can be configured to use
HTTPS protocol for everything. See "HTTPS instead of git protocol" and "HUB_PROTOCOL" of hub(1).
See Also
hub-fork(1), hub(1), git-clone(1) hub version 2.14.2 24 Aug 2023 hub-clone(1)
Synopsis
hubclone [-p] [OPTIONS] [USER/]REPOSITORY [DESTINATION]
