hub-clone(1)

🌸 NAME 🌸

okay bestie, welcome to hub-clone(1) from the hub manual πŸ’– hub-clone is literally here to clone a repository from GitHub. iconic behavior, no cap ✨

✨ SYNOPSIS ✨

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

πŸ’… OPTIONS πŸ’…

  • -p β€” deprecated, bestie 🫢 this one clones private repositories over SSH.
  • [USER/]REPOSITORY β€” the repo you're cloning; USER defaults to your own GitHub username πŸ’–
  • DESTINATION β€” directory name to clone into, and the default is REPOSITORY πŸŽ€

πŸ¦‹ PROTOCOL USED FOR CLONING πŸ¦‹

so here's the vibe check on protocols 🌈 the git: protocol is used for cloning public repositories, while the SSH protocol is 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) πŸ’…

πŸŽ€ EXAMPLES πŸŽ€

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

πŸ‘‘ SEE ALSO πŸ‘‘

hub-fork(1), hub(1), git-clone(1) πŸ¦‹


mwah πŸ’– that's the whole page β€” hub version 2.14.2, dated 07 Jan 2024, and you ate that, bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from