hub-create(1)
β¨ NAME β¨
okay so this is hub-create(1) from the hub manual β bestie, it's literally the glow-up command that creates a brand-new repository on GitHub and adds a git remote pointing at it. main character energy fr fr π
πΈ SYNOPSIS πΈ
hub create [-poc] [-d DESCRIPTION] [-h HOMEPAGE] [[ORGANIZATION/]NAME]
π OPTIONS π
-p,--privateβ makes your repo private, so it's giving vip-only, invite-only, nobody-gets-in vibes π-d,--description DESCRIPTIONβ drops a short little description on your GitHub repo, like a bio but for code π«Ά-h,--homepage HOMEPAGEβ a URL with more info about the repo. use this when your project has an external website, iykyk π--remote-name REMOTEβ sets the name for the new git remote (default:"origin", the classic π)-o,--browseβ opens your shiny new repository in a web browser, no cap π¦-c,--copyβ puts the URL of the new repository onto your clipboard instead of printing it π[ORGANIZATION/]NAMEβ the name for the repository on GitHub (default: name of the current working directory, lowkey convenient). Optionally, you can create the repository insideORGANIZATIONπ’
π₯ EXAMPLES π₯
the way these just werk:
$ hub create
[ repo created on GitHub ]
> git remote add -f origin git@github.com:USER/REPO.git
$ hub create sinatra/recipes
[ repo created in GitHub organization ]
> git remote add -f origin git@github.com:sinatra/recipes.git
π«Ά SEE ALSO π«Ά
k bye bestie, go make that repo β this page is from the hub manual, hub version 2.14.2, dated 07 Jan 2024 β¨π
π¦ 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