bitbucket工程改名导致 repository does not exist. fatal: Could not read from remote repository.
Posted xuanmanstein
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了bitbucket工程改名导致 repository does not exist. fatal: Could not read from remote repository.相关的知识,希望对你有一定的参考价值。
在bitbucket上把工程改名了,就忘了。
结果同步时报错。
先在本地查看一下
git remote -v
果然是工程的老名字
origin [email protected]:XXX/oldname.git (fetch)
origin [email protected]:XXX/oldname.git (push)
git remote set-url origin [email protected]:XXX/NewName.git
OK!
以上是关于bitbucket工程改名导致 repository does not exist. fatal: Could not read from remote repository.的主要内容,如果未能解决你的问题,请参考以下文章