Note
Codespaces is not available on subdomains of GHE.com, such as octocorp.ghe.com
.
Note
Codespaces is not available on subdomains of GHE.com, such as octocorp.ghe.com
.
You can work in a codespace using your browser, Visual Studio Code, or in a command shell.
You can create a codespace for a branch in a repository to develop online.
If you're starting a new project, you can create a codespace from a blank template or choose a template specially designed for the type of work you want to do.
You can delete a codespace you no longer need.
You can reopen a codespace that you have closed or stopped and return to your work.
You can work collaboratively with other people in a codespace by using Visual Studio Live Share.
After making changes to a file in your codespace you can quickly commit the changes and push your update to the remote repository.
You can use Codespaces in your web browser, or in Visual Studio Code to create pull requests, review pull requests, and address review comments.
You can stop and start your codespace to save resources and to pause work.
You can forward ports in your codespace to test and debug your application. You can also manage the port protocol and share the port within your organization or publicly.
You can rebuild the dev container of a codespace you are working in to apply configuration changes. From time to time, you may want to perform a full rebuild.
sets default environment variables for each codespace.
You can configure custom environment variables so that they are set to the same value every time you open a codespace. You can also ensure that temporary files are not deleted when a codespace stops.
You can connect Codespaces to resources on a private network, including package registries, license servers, and on-premises databases.
Learn about working on machine learning projects with Codespaces and its out-of-the-box tools.
You can develop in your codespace directly in Visual Studio Code by connecting the Codespaces extension with your account.
You can work with Codespaces directly from your command line by using gh
, the command line interface.