pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://docs.github.com/zh/codespaces/prebuilding-your-codespaces/testing-dev-container-changes

="zh" data-next-head=""/>
Skip to main content

在启用预生成功能的分支上测试开发容器配置更改

当你更改启用预构建的分支的开发容器配置时,应在 Codespace 环境中测试这些更改。

谁可以使用此功能?

People with write permissions to a repository can create or edit the dev container configuration for a branch.

对已启用预生成的分支的开发容器配置所做的任何更改都会导致对 codespace 配置和关联的预生成进行更新。 因此,在将更改提交到主动使用的存储库分支之前,在 codespace 中从测试分支测试此类更改非常重要。 这将保证你不会为团队引入破坏性更改。

有关详细信息,请参阅“开发容器简介”。

测试对开发容器配置的更改

  1. 从想要更改其开发容器的已启用预生成的分支中创建 codespace。 有关详细信息,请参阅“为代码库创建代码空间”。

  2. 在 codespace 中,签出测试分支。 有关详细信息,请参阅“在代码空间中使用源控制”。

  3. 对开发容器配置进行所需的更改。

  4. 通过重新生成容器来应用更改。 有关详细信息,请参阅“开发容器简介”。

  5. 一切正常之后,我们还建议从测试分支创建新的 codespace,以确保一切正常工作。 然后,可以将更改提交到存储库的默认分支或活动功能分支,从而触发该分支的预生成的更新。

    注意

    创建此 codespace 所需的时间会比平时更长,因为它不会从预创建中生成。

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy