gh-codespace - Man Page
Connect to and manage codespaces
Examples (TL;DR)
- 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]
Available 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 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
See Also
Referenced By
gh(1), gh-codespace-code(1), gh-codespace-cp(1), gh-codespace-create(1), gh-codespace-delete(1), gh-codespace-edit(1), gh-codespace-jupyter(1), gh-codespace-list(1), gh-codespace-logs(1), gh-codespace-ports(1), gh-codespace-rebuild(1), gh-codespace-ssh(1), gh-codespace-stop(1), gh-codespace-view(1).
Jul 2024 GitHub CLI manual