Skip to main content
We publish frequent updates to our documentation, and translation of this page may still be in progress. For the most current information, please visit the English documentation.

此版本的 GitHub Enterprise 已停止服务 2023-03-15. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

错误:用户/仓库拒绝用户/其他仓库的权限

此错误意味着您正在推送的密钥作为 deploy key 附加到另一个仓库,并且对您尝试推送到的仓库的没有访问权限。

若要解决此问题,请从存储库中移除部署密钥,并改为将密钥添加到个人帐户

如果要使用的密钥为部署密钥,请查看部署密钥指南了解更多详细信息。