hub-init(1)
π hub-init(1) β the hub manual, bestie edition β¨
okay so real talk, this is the hub-init page from the hub manual, and it's literally the glow-up your empty folder has been waiting for. slay.
πΈ NAME πΈ
hub-init β initialize a git repository and add a remote pointing to GitHub. no cap, that's the whole vibe. π
β¨ SYNOPSIS β¨
hub init -g
that's it. that's the line. iconic.
π OPTIONS π
-gβ okay so after you've initialized the repository locally, this adds the"origin"remote pointing to the"USER/REPO"repository on GitHub. yes bestie, remote acquired. π«Ά
oh and btw, USER is your GitHub username, while REPO is the name of the current working directory. so like, name your folder good, iykyk. π
π¦ EXAMPLES π¦
$ hub init -g
> git init
> git remote add origin git@github.com:USER/REPO.git
look at it go π it's giving "everything handled" energy. periodt. π₯
π SEE ALSO π
go read those too, bestie, they're lowkey obsessed with being helpful. π
mwah π this page came to you courtesy of hub version 2.14.2, dated 07 Jan 2024 β catch you in the group chat, bestie π§β¨
π¦ where this page comes from
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms