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 inside ORGANIZATION 🏒

πŸ”₯ 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 🫢

hub-init(1), hub(1)


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