From d9157ae2cc2ecba8a4bb0bbfcb28a2f0476f8f5d Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Wed, 3 Nov 2021 13:08:29 -0300 Subject: [PATCH] gh-codespace: add page (#7239) --- pages/common/gh-codespace.md | 36 ++++++++++++++++++++++++++++++++++++ pages/common/gh-cs.md | 8 ++++++++ 2 files changed, 44 insertions(+) create mode 100644 pages/common/gh-codespace.md create mode 100644 pages/common/gh-cs.md 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`