diff --git a/pages/common/gh-codespace.md b/pages/common/gh-codespace.md new file mode 100644 index 0000000000..4dc8c7b0b5 --- /dev/null +++ b/pages/common/gh-codespace.md @@ -0,0 +1,36 @@ +# gh codespace + +> Connect and manage your codespaces in GitHub. +> More information: . + +- 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` diff --git a/pages/common/gh-cs.md b/pages/common/gh-cs.md new file mode 100644 index 0000000000..c029ac855d --- /dev/null +++ b/pages/common/gh-cs.md @@ -0,0 +1,8 @@ +# gh cs + +> This command is an alias of `gh codespace`. +> More information: . + +- View documentation for the original command: + +`tldr gh-codespace`