GH-CODESPACE(1)
π
GH-CODESPACE(1) β like, the gh codespace era β¨
okay so bestie, welcome to the gh-codespace page of the GitHub CLI manual β this is the one that lets you connect to and manage codespaces π no cap, it's a whole main-character situation.
πΈ NAME πΈ
gh-codespace β connect to and manage codespaces π (yes that's literally the whole job, and she ate)
β¨ SYNOPSIS β¨
gh codespace [flags]
that's it. that's the vibe check. gh codespace + whatever flags you're feeling π¦
π AVAILABLE COMMANDS π
so there are, like, a LOT of these and each one has its own whole manpage (iykyk). here's the full roster, no skips, no cuts π«Ά
gh-codespace-code(1)β open a codespace in Visual Studio Code π»gh-codespace-cp(1)β copy files between local and remote file systems πgh-codespace-create(1)β create a codespace β¨gh-codespace-delete(1)β delete codespaces πgh-codespace-edit(1)β edit a codespace βοΈgh-codespace-jupyter(1)β open a codespace in JupyterLab π§ͺgh-codespace-list(1)β list codespaces πgh-codespace-logs(1)β access codespace logs πͺ΅gh-codespace-ports(1)β list ports in a codespace πgh-codespace-rebuild(1)β rebuild a codespace π¨gh-codespace-ssh(1)β SSH into a codespace π₯οΈgh-codespace-stop(1)β stop a running codespace πgh-codespace-view(1)β view details about a codespace π
likeβ¦ the range?? each one's got its own (1) page so if you need the deets, go read that one. obsessed. π
π¦ ALIASES π¦
gh cs β yep, that's the short one. type gh cs and honestly same energy, less typing, more slay β
π₯ EXIT CODES π₯
okay bestie this part is important so pay attention, this is literally how you know what happened π
0: successful execution β iconic, no notes1: error π it's giving something went wrong2: command canceled π (you bailed, or something bailed for you)4: authentication required π you gotta log in first, babes
NOTE: specific commands may have additional exit codes. refer to the command's help for more information β don't come for me, come for <command> --help π
π SEE ALSO π
gh(1)β the mothership π
and that's the page!! π
this lil masterpiece is from GitHub CLI v2.102.0, dated Oct 2026 β so yeah, she's fresh, she's current, she's got the whole codespace glow-up β¨ keep slaying out there with your gh cs, bestie π§π
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms