[Improvement]: Add details about the gh cs rebuild command (#36962)
This commit is contained in:
@@ -24,6 +24,7 @@ You can work with {% data variables.product.prodname_github_codespaces %} in the
|
||||
- [Stop a codespace](#stop-a-codespace)
|
||||
- [Delete a codespace](#delete-a-codespace)
|
||||
- [Rename a codespace](#rename-a-codespace)
|
||||
- [Rebuild a codespace](#rebuild-a-codespace)
|
||||
- [SSH into a codespace](#ssh-into-a-codespace)
|
||||
- [Open a codespace in {% data variables.product.prodname_vscode %}](#open-a-codespace-in--data-variablesproductprodname_vscode-)
|
||||
- [Open a codespace in JupyterLab](#open-a-codespace-in-jupyterlab)
|
||||
@@ -107,7 +108,17 @@ For more information, see "[AUTOTITLE](/codespaces/developing-in-codespaces/dele
|
||||
gh codespace edit -c CODESPACE-NAME -d DISPLAY-NAME
|
||||
```
|
||||
|
||||
For more information, see "[AUTOTITLE](/codespaces/customizing-your-codespace/renaming-a-codespace)."
|
||||
For more information, see "[AUTOTITLE](/codespaces/customizing-your-codespace/renaming-a-codespace?tool=cli)."
|
||||
|
||||
### Rebuild a codespace
|
||||
|
||||
```shell
|
||||
gh codespace rebuild
|
||||
```
|
||||
|
||||
When you use this command to rebuild a codespace, it uses the `devcontainer.json` file that is currently saved in the codespace's system. This happens regardless of whether or not the current state of the file has been saved in source control.
|
||||
|
||||
For more information, see "[AUTOTITLE](/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers)."
|
||||
|
||||
### SSH into a codespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user