Skip to content

Commit e5092d9

Browse files
authored
Remove duplicate header in Codespaces article (github#38952)
1 parent 16ca8c9 commit e5092d9

1 file changed

Lines changed: 3 additions & 14 deletions

File tree

content/codespaces/developing-in-codespaces/using-github-codespaces-with-github-cli.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ You can work with {% data variables.product.prodname_github_codespaces %} in the
3434
- [Access codespace logs](#access-codespace-logs)
3535
- [Access remote resources](#access-remote-resources)
3636
- [Change the machine type of a codespace](#change-the-machine-type-of-a-codespace)
37-
- [Rebuild a codespace](#rebuild-a-codespace)
3837

3938
## Installing {% data variables.product.prodname_cli %}
4039

@@ -136,9 +135,9 @@ For more information, see "[AUTOTITLE](/codespaces/customizing-your-codespace/re
136135
gh codespace rebuild
137136
```
138137

139-
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.
138+
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)."
140139

141-
For more information, see "[AUTOTITLE](/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers)."
140+
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)."
142141

143142
### SSH into a codespace
144143

@@ -266,14 +265,4 @@ You can use the {% data variables.product.prodname_cli %} extension to create a
266265
gh codespace edit -m MACHINE-TYPE-NAME
267266
```
268267

269-
For more information, see the "{% data variables.product.prodname_cli %}" tab of "[AUTOTITLE](/codespaces/customizing-your-codespace/changing-the-machine-type-for-your-codespace)."
270-
271-
### Rebuild a codespace
272-
273-
```shell
274-
gh codespace rebuild
275-
```
276-
277-
To perform a full rebuild, add `--full` at the end of this command.
278-
279-
For more information, see "[AUTOTITLE](/codespaces/developing-in-codespaces/rebuilding-the-container-in-a-codespace)."
268+
For more information, see the "{% data variables.product.prodname_cli %}" tab of "[AUTOTITLE](/codespaces/customizing-your-codespace/changing-the-machine-type-for-your-codespace)."

0 commit comments

Comments
 (0)