git - 无法推送到已传输的存储库 : "The remote end hung up unexpectedly"

标签 git github repository

我将存储库的所有权转让给了我拥有所有权的组织。但是,现在我无法推送到存储库。我收到此错误:

$ git push origin master
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly

为了能够再次推送,我需要采取哪些步骤。

最佳答案

您是否已调整 Remote 以反射(reflect)存储库现在的位置?

git remote -v

将显示所有 Remote 及其 URL,并且

git remote set-url origin git@github.com:[organisation]/[repo].git

是在它们过时时更新它的语法。

关于git - 无法推送到已传输的存储库 : "The remote end hung up unexpectedly",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10958431/

相关文章:

git - 在 GitHub 上使用别人的 repo 作为 Git 子模块

tdd - 测试假存储库有什么意义?

c++ - 使用 libgit2 获取未推送的提交

git - 通过远程机器连接到 github 的 ssh key 问题

java - 如何用JGit逆序获取日志?

macos - Git 认为我是错误的用户

github - $ git commit --amend 不改变/保存提交信息

git - 从现有存储库中创建孤立分支?

xcode - 如何忽略 MAC 的 Github gui 中未提交的更改?

VPS 上的 Git 远程存储库接受推送但不创建文件?