GH-ALIAS-DELETE(1)

πŸ’… NAME πŸ’…

okay so bestie, welcome to gh-alias-delete β€” the GitHub CLI manual page whose whole entire job is deleting the aliases you set up earlier. like, the aliases are gone-gone. no cap. ✨

this is page one of the GitHub CLI manual, and yeah, it's a little icon of its own. πŸŽ€


🌸 SYNOPSIS 🌸

gh alias delete {<alias> | --all} [flags]

so the vibe check here is: you either name one alias to yeet, or you hit it with --all and clear the whole collection. one or the other, bestie. πŸ¦‹


✨ OPTIONS ✨

  • --all β€” delete every alias you have. all of them. the whole set. it's giving spring cleaning, honestly. πŸ”₯

🫢 EXIT CODES 🫢

the exit codes are literally the receipts of what just happened, so pay attention:

  • 0 β€” Successful execution. slay, it worked. πŸ‘‘
  • 1 β€” Error. something went sideways, bestie 😭
  • 2 β€” Command canceled. you backed out. that's valid. πŸ™ˆ
  • 4 β€” Authentication required. you gotta log in first, no cap. ⭐
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. iykyk β€” some commands got their own extra receipts, so check their help if you're being thorough. πŸ’œ

🌈 SEE ALSO 🌈

  • gh-alias(1) β€” the main character alias page, go say hi 🧚

okay that's the whole page, bestie β€” and now for the cute lil sign-off: this one's from GitHub CLI v2.102.0, dated Oct 2026, brought to you with love πŸ’– go forth and delete responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from