如果您推到已删除的存储库会发生什么情况
我删除了一个bitbucket存储库,并试图推动提交。
我会收到以下错误,
permission denied (publickey)
fatal: could not read from remote repository.
Please make sure you have the correct access rights and the repository exists
当此错误发生时实际发生了什么。
它可以创建一个新的存储库吗?
它是否在任何地方发送提交更改?
I deleted a bitbucket repo and tried to push a commit to it.
I get the following error
permission denied (publickey)
fatal: could not read from remote repository.
Please make sure you have the correct access rights and the repository exists
What actually happens when this error occurs.
Can it create a new repository?
Does it send the commit changes anywhere?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从理论上讲,Bitbucket可能会决定,尝试将不存在的存储库推向其服务器上的新存储库。但是我认为他们实际上不会那样做。
不,它不知道它应该将它们发送到哪里。
In theory BitBucket could decide that a failed attempt to push to an inexistent repository creates a new repository on their server. But I don't think they would actually do that.
No, it doesn't know where else it should send them to.