gh-codespace
manage cloud-hosted development environments
TLDR
List codespaces
$ gh codespace list
Create a codespace$ gh codespace create
Create for specific repo$ gh codespace create -r [owner/repo]
SSH into codespace$ gh codespace ssh
Stop a codespace$ gh codespace stop -c [codespace_name]
Delete a codespace$ gh codespace delete -c [codespace_name]
Open in VS Code$ gh codespace code
SYNOPSIS
gh codespace command [options]
DESCRIPTION
gh codespace manages GitHub Codespaces, cloud-hosted development environments. Create, connect, and manage codespaces from the CLI.
PARAMETERS
-r, --repo owner/repo
Repository.-c, --codespace name
Codespace name.-m, --machine type
Machine type.
SUBCOMMANDS
list
List codespaces.create
Create a codespace.ssh
SSH into codespace.code
Open in VS Code.stop
Stop a codespace.delete
Delete a codespace.ports
Manage ports.logs
View logs.
