adds procedural section
This commit is contained in:
@@ -18,6 +18,7 @@ shortTitle: Rename a codespace
|
||||
Each codespace is assigned an auto-generated display name. If you have multiple codespaces, the display name helps you to differentiate between codespaces. For example: `literate space parakeet`. You can change the display name for your codespace.
|
||||
|
||||
To find the display name of a codespace:
|
||||
|
||||
- View your list of codespaces in {% data variables.product.product_name %} on https://github.com/codespaces.
|
||||

|
||||
- Click the Remote Explorer in the {% data variables.product.prodname_vscode %} desktop application, or the {% data variables.product.prodname_vscode_shortname %} web client. For example: `symmetrical space telegram` in the screenshot below.
|
||||
@@ -32,4 +33,18 @@ To find the unique name of a codespace:
|
||||
* Access the name in {% data variables.product.product_name %} on https://github.com/codespaces. The name is shown in a pop-up when you hover over the **Open in browser** option on https://github.com/codespaces.
|
||||

|
||||
|
||||
## Renaming a codespace
|
||||
## Renaming a codespace
|
||||
|
||||
Changing the display name of a codespace can be useful if you have multiple codespaces that you will be using for an extended period. An appropriate name helps you identify a codespace that you use for a particular purpose. You can change the display name for your codespace by using the {% data variables.product.prodname_cli %}.
|
||||
|
||||
To rename a codespace, use the `gh codespace edit` subcommand:
|
||||
|
||||
```shell
|
||||
gh codespace edit -c <em>unique name of the codespace</em> -d <em>new display name</em>
|
||||
```
|
||||
|
||||
In this example, replace `unique name of the codespace` with the unique name of the codespace. Replace `new display name` with the desired display name.
|
||||
|
||||
|
||||
<!-- 1. Run `gh codespace list` in a terminal on your local machine to find the unique name of your codespace.
|
||||
2. Run `gh codespace edit -c <CODESPACE-ID> -d <NEW-DISPLAY-NAME>` to rename the codespace. In this example, replace `<CODESPACE-ID>` with the unique name of your codespace and `<NEW-DISPLAY-NAME>` with the new display name. -->
|
||||
Reference in New Issue
Block a user