Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.6 KB

creating-a-codespace-in-vscode.md

File metadata and controls

21 lines (13 loc) · 1.6 KB

After you connect your account on {% data variables.product.github %} 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 %}.

{% data reusables.codespaces.click-remote-explorer-icon-vscode %}

  1. Hover over the "Remote Explorer" side bar and click {% octicon "plus" aria-label="The plus icon" %}.

    Screenshot of the "Remote Explorer" side bar for {% data variables.product.prodname_github_codespaces %}. The tooltip "Create New Codespace" is displayed beside the plus sign button.

  2. In the text box, type the name of the repository you want to develop in, then select it.

    Screenshot of "octo-org/he" entered into the text box and a list of four repositories that start with this string.

    A message is displayed at the right side of subsequent prompts telling you who will pay for the codespace.

    Screenshot of a prompt for a branch, with the message "Usage paid for by hubwriter."

  3. Click the branch you want to develop on.

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

  5. Click the machine type you want to use.

    [!NOTE] {% data reusables.codespaces.codespaces-machine-type-availability %}