Note
GitHub Codespaces is not available on subdomains of GHE.com, such as octocorp.ghe.com
.
Create a codespace to get started with developing your project inside a dedicated cloud environment. You can use your codespace in the browser or in a choice of code editors.
Note
GitHub 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, a JetBrains IDE, 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 GitHub 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.
GitHub 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 GitHub Codespaces to resources on a private network, including package registries, license servers, and on-premises databases.
Learn about working on machine learning projects with GitHub Codespaces and its out-of-the-box tools.
You can develop in your codespace directly in Visual Studio Code by connecting the GitHub Codespaces extension with your account on GitHub Enterprise Cloud.
You can use the JetBrains Gateway to connect to your codespace and work in your favorite JetBrains IDE.
You can work with GitHub Codespaces directly from your command line by using gh
, the GitHub Enterprise Cloud command line interface.