gh-codespace
Connect and manage your codespaces in GitHub.
TLDR
Create a codespace in GitHub interactively
$ gh codespace create
List all available codespaces
$ gh codespace list
Connect to a codespace via SSH interactively
$ gh codespace ssh
Transfer a specific file to a codespace interactively
$ gh codespace cp [path/to/source_file] remote:[path/to/remote_file]
List the ports of a codespace interactively
$ gh codespace ports
Display the logs from a codespace interactively
$ gh codespace logs
Delete a codespace interactively
$ gh codespace delete
Display help for a subcommand
$ gh codespace [code|cp|create|delete|edit|...] --help
SYNOPSIS
gh codespace [flags]
COMMANDS
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 a codespace
gh-codespace-list(1)
-
List your codespaces
gh-codespace-logs(1)
-
Access codespace logs
gh-codespace-ports(1)
-
List ports in a codespace
gh-codespace-ssh(1)
-
SSH into a codespace
gh-codespace-stop(1)
-
Stop a running codespace
SEE ALSO
gh(1)