GH-ORG(1)

πŸŽ€ GH-ORG(1) β€” the GitHub CLI manual, org edition πŸŽ€

okay bestie, so you know how the GitHub CLI has a whole manual? yeah. this page lives in it. it's gh-org, and it's literally your one-stop shop for wrangling organizations. πŸ’…


✨ NAME ✨

gh-org β€” manage organizations. that's it, that's the vibe.


πŸ¦‹ SYNOPSIS πŸ¦‹

gh org <command> [flags]

🌸 DESCRIPTION 🌸

Work with GitHub organizations. that's the whole sentence, but like β€” work with meaning list them, poke them, do org things. main character energy for your orgs fr fr. πŸ‘‘


🌈 GENERAL COMMANDS 🌈

  • gh-org-list(1) β€” list organizations for the authenticated user. yes. that's the one. it lists them. no cap. ✨

πŸ’€ EXIT CODES πŸ’€

so when a command dips out, it leaves a little number behind telling you why. here's the whole roster:

  • 0 β€” successful execution πŸŽ‰ iconic, no notes
  • 1 β€” error 😭 it tried, it failed
  • 2 β€” command canceled πŸ™ˆ you (or something) hit the brakes
  • 4 β€” authentication required πŸ” like, who even are you? log in bestie
NOTE: specific commands may have additional exit codes. refer to the command's help for more information. don't come for me, come for --help. 🫢

⭐ EXAMPLE ⭐

$ gh org list

look at her go. 🧚


πŸ”₯ SEE ALSO πŸ”₯

  • gh(1) β€” the mothership. the og. go say hi.

anyway that's the whole page, you're basically an org expert now. slay. πŸ“


this lil masterclass was brought to you by GitHub CLI v2.102.0, dated Oct 2026 β€” mwah, catch you in the next manpage πŸ’–

πŸ“¦ where this page comes from