Codespace prebuild support for monorepos and external repo access (#29232)
* Make changes for multiple config files * Clarify deprecated procedure * Optimize images * More WiP changes * More WiP changes * Update s/shots - no longer beta * Optimize images * More WiP changes * Fix broken links * WiP * Add authorizations screenshots * Optimize images * Reorg requested by reviewer * Update content/codespaces/prebuilding-your-codespaces/configuring-prebuilds.md * Update content/codespaces/prebuilding-your-codespaces/configuring-prebuilds.md * Update content/codespaces/prebuilding-your-codespaces/configuring-prebuilds.md * Update content/codespaces/prebuilding-your-codespaces/configuring-prebuilds.md Co-authored-by: Felicity Chapman <felicitymay@github.com> * Update content/codespaces/prebuilding-your-codespaces/configuring-prebuilds.md * Update content/codespaces/troubleshooting/troubleshooting-prebuilds.md Co-authored-by: Felicity Chapman <felicitymay@github.com> * Update data/reusables/codespaces/billing-for-prebuilds.md * Tiny tweak to creation article * Another tiny tweak to creation article * Fix self-referential link Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Felicity Chapman <felicitymay@github.com>
This commit is contained in:
@@ -111,7 +111,7 @@ If you would like to create a codespace for a repository owned by your personal
|
||||
**Notes**
|
||||
|
||||
* You can bookmark the options page to give you a quick way to create a codespace for this repository and branch.
|
||||
* The [https://github.com/codespaces/new](https://github.com/codespaces/new) page provides a quick way to create a codespace for any repository and branch.
|
||||
* The [https://github.com/codespaces/new](https://github.com/codespaces/new) page provides a quick way to create a codespace for any repository and branch. You can get to this page quickly by typing `codespace.new` into your browser's address bar.
|
||||
* For more information about the `devcontainer.json` file, see "[Introduction to dev containers](/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers#devcontainerjson)."
|
||||
* For more information about machine types, see "[Changing the machine type for your codespace](/codespaces/customizing-your-codespace/changing-the-machine-type-for-your-codespace#about-machine-types)."
|
||||
* {% data reusables.codespaces.codespaces-machine-type-availability %}
|
||||
@@ -152,10 +152,10 @@ Alternatively, you can use flags to specify some or all of the options:
|
||||
gh codespace create -r <em>owner</em>/<em>repo</em> -b <em>branch</em> -m <em>machine-type</em>
|
||||
```
|
||||
|
||||
Replace `owner/repo` with the repository identifier. Replace `branch` with the name of the branch, or the full SHA hash of the commit, that you want to be initially checked out in the codespace. If you use the `-r` flag without the `b` flag, the codespace is created from the default branch.
|
||||
In this example, replace `owner/repo` with the repository identifier. Replace `branch` with the name of the branch, or the full SHA hash of the commit, that you want to be initially checked out in the codespace. If you use the `-r` flag without the `b` flag, the codespace is created from the default branch.
|
||||
|
||||
Replace `machine-type` with a valid identifier for an available machine type. Identifiers are strings such as: `basicLinux32gb` and `standardLinux32gb`. The type of machines that are available depends on the repository, your personal account, and your location. If you enter an invalid or unavailable machine type, the available types are shown in the error message. If you omit this flag and more than one machine type is available you will be prompted to choose one from a list.
|
||||
|
||||
For more information about this command, see [the {% data variables.product.prodname_cli %} manual](https://cli.github.com/manual/gh_codespace_create).
|
||||
For full details of the options for this command, see [the {% data variables.product.prodname_cli %} manual](https://cli.github.com/manual/gh_codespace_create).
|
||||
|
||||
{% endcli %}
|
||||
|
||||
Reference in New Issue
Block a user