You can change the codespace display name to one of your choice on GitHub or using the GitHub CLI.
About renaming a codespaceWhen you create a codespace it's 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:
On GitHub, view your list of codespaces at https://github.com/codespaces.
In the Visual Studio Code desktop application, or the VS Code web client, click the Remote Explorer. The display name is the second item in the list. For example: psychic chainsaw
in the screenshot below.
Note
If the Remote Explorer is not displayed in the Activity Bar:
details
.In a terminal window on your local machine, use this GitHub CLI command: gh codespace list
.
In addition to a display name, every codespace also has a unique, permanent name. The permanent name is a combination of the initial display name, followed by some random characters - for example, literate-space-parakeet-w5vg5ww5p793g7g9
. You can't change the permanent name.
You will occasionally need to know the permanent name of a codespace. For example, when you use some GitHub CLI commands, or when you discuss a particular codespace with GitHub support.
To find the permanent name of a codespace, do one of the following:
https://obscure-space-engine-grx7rgg6qp43v9j5.github.dev
is the URL for the obscure-space-engine-grx7rgg6qp43v9j5
codespace.echo $CODESPACE_NAME
.gh codespace list
.The permanent name the codespace is also included in many of the log files. For example, in the GitHub Codespaces extension log, after fetching codespace
or Connecting to codespace
, and in the browser console log after clientUrl
. For more information, see GitHub Codespaces logs.
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.
Further readingRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4