mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-24 01:02:09 +02:00
36 lines
720 B
Markdown
36 lines
720 B
Markdown
# gh codespace
|
|
|
|
> Connect and manage your codespaces in GitHub.
|
|
> More information: <https://cli.github.com/manual/gh_codespace>.
|
|
|
|
- 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 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`
|
|
|
|
- Print the logs from a codespace interactively:
|
|
|
|
`gh codespace logs`
|
|
|
|
- Delete a codespace interactively:
|
|
|
|
`gh codespace delete`
|
|
|
|
- Display help for a subcommand:
|
|
|
|
`gh codespace {{subcommand}} --help`
|