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)

参考https://stackoverflow.com/questions/24875756/conq-repository-does-not-exist-fatal-could-not-read-from-remote-repository

git remote set-url origin [email protected]:XXX/NewName.git

OK!

 

以上是关于bitbucket工程改名导致 repository does not exist. fatal: Could not read from remote repository.的主要内容,如果未能解决你的问题,请参考以下文章

IDEA 提交工程到 BitBucket

solidworks零件改名后无法识别工程图,打不开

Hadoop集群改名导致无法启动DataNode

jsp工程 改名后再部署出问题

git使用笔记 bitbucket基本操作

在delphi 7里怎么给已有的单元文件改名