Prebuilding Codespaces for your project

You can configure your project to prebuild a codespace automatically each time you push a change to your repository.

代码空间可用于使用 GitHub Team 或 GitHub Enterprise Cloud 的组织。 更多信息请参阅“GitHub 的产品”。

Note: This feature is currently in private preview.

About prebuilding a Codespace

Prebuilding your codespaces allows you to be more productive and access your codespace faster. This is because any source code, editor extensions, project dependencies, commands, or configurations have already been downloaded, installed, and applied before you begin your coding session. Once you push changes to your repository, Codespaces automatically handles configuring the builds.

The ability to prebuild Codespaces is currently in private preview. To get access to this feature, contact




所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。


或者, 了解如何参与。