1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Files
docs/data/reusables/codespaces/creating-a-codespace-in-vscode.md

22 lines
1.6 KiB
Markdown

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 %}](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces).
{% 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.](/assets/images/help/codespaces/create-codespace-vscode.png)
1. 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.](/assets/images/help/codespaces/choose-repository-vscode.png)
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."](/assets/images/help/codespaces/who-will-pay-vscode.png)
1. Click the branch you want to develop on.
1. If prompted to choose a dev container configuration file, choose a file from the list.
1. Click the machine type you want to use.
> [!NOTE]
> {% data reusables.codespaces.codespaces-machine-type-availability %}