我将存储库的所有权转让给了我拥有所有权的组织。但是,现在我无法推送到存储库。我收到此错误:
$ 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/