此版本的 GitHub Enterprise 将停止服务 2022-09-28. 即使针对重大安全问题,也不会发布补丁。 要获得更好的性能、改进的安全性和新功能,请升级到 GitHub Enterprise 的最新版本。 如需升级方面的帮助,请联系 GitHub Enterprise 支持。
使用复刻
复刻通常在 GitHub Enterprise Server 上的开源开发中使用。
About forks
A fork is a copy of a repository that you manage. Forks let you make changes to a project without affecting the original repository. You can fetch updates from or submit changes to the original repository with pull requests.
为复刻配置远程仓库
必须在 Git 中配置指向上游仓库的远程仓库,才能将您在复刻中所做的更改同步 到原始仓库。 这也允许您将在原始仓库中所做的更改同步到复刻中。
同步复刻
同步仓库的复刻以通过上游仓库使其保持最新。
允许更改从复刻创建的拉取请求分支
为增强协作,您可以允许在您从自己个人帐户拥有的复刻所创建的分支上提交。
删除仓库或更改其可见性时,复刻会发生什么变化?
删除仓库或更改其可见性会影响仓库的复刻。