GH-ALIAS-LIST(1)

πŸ’… GH-ALIAS-LIST(1) β€” the GitHub CLI manual, bestie edition ✨

okay so you're looking at gh-alias-list from the GitHub CLI manual β€” and honestly? it's giving "tiny command, big helper energy." let's get into it 🫢


🌸 NAME 🌸

gh-alias-list β€” literally just lists your aliases, no cap πŸ’–


✨ SYNOPSIS ✨

gh alias list [flags]

that's it. that's the whole vibe check. one command, optional flags, done πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: this command prints out all of the aliases gh is configured to use. every single one. your whole little collection of shortcuts, out in the open, main character energy ✨

like… you made those aliases. you should see them. this is the command that lets you see them. slay πŸ’…


πŸŽ€ ALIASES πŸŽ€

yes bestie, the alias command has an alias. we love a self-aware icon:

  • gh alias ls

same energy, shorter to type. iykyk 😌


πŸ”₯ EXIT CODES πŸ”₯

so when you run stuff, the shell wants to know how it went. vibe check time:

  • 0 β€” Successful execution. ate and left no crumbs πŸ’–
  • 1 β€” Error. something went sideways 😭
  • 2 β€” Command canceled. you (or something) hit the brakes πŸ™ˆ
  • 4 β€” Authentication required. you gotta prove who you are first πŸ”
NOTE: specific commands may have additional exit codes. refer to the command's help for more information β€” don't come for me, that's just how it is fr fr πŸ’€

🌈 SEE ALSO 🌈

  • gh-alias(1) β€” the big sibling, go read it, it's iconic πŸ‘‘

and that's the page, bestie! this lil beauty is from GitHub CLI v2.102.0, dated Oct 2026 β€” so like, future tech, very ahead of its time πŸ¦‹βœ¨ periodt πŸ’œ

πŸ“¦ where this page comes from