1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

gh-codespace: add page (#7239)

This commit is contained in:
Axel Navarro 2021-11-03 13:08:29 -03:00 committed by GitHub
parent e276e62adf
commit d9157ae2cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,36 @@
# 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`

8
pages/common/gh-cs.md Normal file
View file

@ -0,0 +1,8 @@
# gh cs
> This command is an alias of `gh codespace`.
> More information: <https://cli.github.com/manual/gh_codespace>.
- View documentation for the original command:
`tldr gh-codespace`