hub-delete(1)

hey bestie! welcome to hub-delete(1) from the hub manual ✨ this is the page for deleting a repo on GitHub, and yes it’s giving β€œone command and it’s gone” energy πŸ’…

πŸ’– NAME πŸ’–

hub-delete β€” deletes an existing repository on GitHub. like, actually deletes it. no cap 🫢

✨ SYNOPSIS ✨

hub delete [-y] [ORGANIZATION/]NAME

πŸŽ€ OPTIONS πŸŽ€

  • -y, --yes β€” skips the confirmation prompt and immediately deletes the repository. no β€œare you sure?” era, it just goes 😭
  • [ORGANIZATION/]NAME β€” the name for the repository on GitHub. include the org part when it lives in an organization, iykyk πŸ¦‹

🌸 EXAMPLES 🌸

here’s the vibe in action:

$ hub delete recipes
[ personal repo deleted on GitHub ]

$ hub delete sinatra/recipes
[ repo deleted in GitHub organization ]

first one is a personal repo, second one is a repo in a GitHub organization β€” both deleted, both iconic in their own way πŸ‘‘

🌈 SEE ALSO 🌈

go read hub-init(1) and hub(1) too, bestie 🫢


that’s the tea from hub-delete(1) β€” hub version 2.14.2, dated 07 Jan 2024 πŸ’– mwah, stay slaying your repos responsibly ✨

πŸ“¦ where this page comes from