Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

41
gh-codespace Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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 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`