1
0
mirror of synced 2025-12-20 10:28:40 -05:00

Codespaces: Add the rebuild command (#36888)

This commit is contained in:
hubwriter
2023-05-09 16:14:26 +01:00
committed by GitHub
parent 850126281e
commit 9e52a5ff3a

View File

@@ -32,6 +32,7 @@ You can work with {% data variables.product.prodname_github_codespaces %} in the
- [Access codespace logs](#access-codespace-logs)
- [Access remote resources](#access-remote-resources)
- [Change the machine type of a codespace](#change-the-machine-type-of-a-codespace)
- [Rebuild a codespace](#rebuild-a-codespace)
## Installing {% data variables.product.prodname_cli %}
@@ -234,3 +235,13 @@ gh codespace edit -m MACHINE-TYPE-NAME
```
For more information, see the "{% data variables.product.prodname_cli %}" tab of "[AUTOTITLE](/codespaces/customizing-your-codespace/changing-the-machine-type-for-your-codespace)."
### Rebuild a codespace
```shell
gh codespace rebuild
```
To perform a full rebuild, add `--full` at the end of this command.
For more information, see "[AUTOTITLE](/codespaces/developing-in-codespaces/rebuilding-the-container-in-a-codespace)."