1
0
mirror of synced 2025-12-30 12:02:01 -05:00
Files
docs/data/reusables/codespaces/creating-a-codespace-in-vscode.md
Annie Streater 97557edf6e Use "GitHub Codespaces" in most places (#30249)
Co-authored-by: streats <streats@users.noreply.github.comgit config --global user.emailgit config --global user.email streats@users.noreply.github.comgit config --global user.name>
Co-authored-by: hubwriter <hubwriter@github.com>
2022-09-20 17:04:17 +01:00

2.0 KiB

After you connect your account on {% data variables.product.product_location %} to the {% data variables.product.prodname_github_codespaces %} extension, you can create a new codespace. For more information about the {% data variables.product.prodname_github_codespaces %} extension, see the {% data variables.product.prodname_vs_marketplace_shortname %} marketplace.

{% note %}

Note: Currently, {% data variables.product.prodname_vscode_shortname %} doesn't allow you to choose a dev container configuration when you create a codespace. If you want to choose a specific dev container configuration, use the {% data variables.product.prodname_dotcom %} web interface to create your codespace. For more information, click the Web browser tab at the top of this page.

{% endnote %}

{% data reusables.codespaces.click-remote-explorer-icon-vscode %} 2. Click the Add icon: {% octicon "plus" aria-label="The plus icon" %}.

The Create new Codespace option in {% data variables.product.prodname_github_codespaces %}

  1. Type the name of the repository you want to develop in, then select it.

    Searching for repository to create a new codespace

  2. Click the branch you want to develop on.

    Searching for a branch to create a new codespace

  3. If prompted to choose a dev container configuration file, choose a file from the list.

    Choosing a dev container configuration file for {% data variables.product.prodname_github_codespaces %}

  4. Click the machine type you want to use.

    Instance types for a new codespace

    {% note %}

    Note: {% data reusables.codespaces.codespaces-machine-type-availability %}

    {% endnote %}