如果您推到已删除的存储库会发生什么情况

发布于 2025-01-27 01:40:52 字数 333 浏览 1 评论 0原文

我删除了一个bitbucket存储库,并试图推动提交。

我会收到以下错误,

permission denied (publickey) 
fatal: could not read from remote repository.

Please make sure you have the correct access rights and the repository exists

当此错误发生时实际发生了什么。

  1. 它可以创建一个新的存储库吗?

  2. 它是否在任何地方发送提交更改?

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.

  1. Can it create a new repository?

  2. Does it send the commit changes anywhere?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

简单气质女生网名 2025-02-03 01:40:52

它可以创建一个新的存储库吗?

从理论上讲,Bitbucket可能会决定,尝试将不存在的存储库推向其服务器上的新存储库。但是我认为他们实际上不会那样做。

它是否在任何地方发送提交更改?

不,它不知道它应该将它们发送到哪里。

Can it create a new repository?

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.

Does it send the commit changes anywhere?

No, it doesn't know where else it should send them to.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文