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!

原文地址:https://www.cnblogs.com/xuanmanstein/p/9969661.html

时间: 2024-10-13 23:59:01

bitbucket工程改名导致 repository does not exist. fatal: Could not read from remote repository.的相关文章

git提示错误关于错误:ssh: Could not resolve hostname github.com: Name or service not known.fatal: Could not read from remote repository.

关于 Git 使用中出现的错误 饥人谷_楠柒 关注 2016.11.02 15:33* 字数 746 阅读 3607评论 5喜欢 10赞赏 1 关于错误:ssh: Could not resolve hostname github.com: Name or service not known.fatal: Could not read from remote repository. QQ截图20161102144048.jpg 在我配置完公钥后想要进行远端Github上clone时出现了错误.经

Push failed: Failed with error: fatal: Could not read from remote repository.

GitLab push远端,出现错误提示:Push failed: Failed with error: fatal: Could not read from remote repository. 原因: 1,账号无push的权限. 2,请添加一个正确的sshKey 添加方法: ssh-keygen -t rsa -C "账号" cat ~/.ssh/id_rsa.pub 将ssh保存到 GitLab即可

git pull 出错 fatal: Could not read from remote repository.Please make sure you have the correct access rights.and the repository exists.

Warning: Permanently added the RSA host key for IP address '192.30.252.131' to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repositor

git之fatal: Could not read from remote repository

问题背景:在git bash中使用hexo g -d命令进行文章发布 详细错误信息: fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs

fatal:'origin' does not appear to be a git repository fatal:Could not read from remote repository

天gitlab中遇到的问题: 当 git push origin branch_name时遇到报错如下: fatal:'origin' does not appear to be a git repository fatal:Could not read from remote repository 原因: 本地分支和远程分支断开连接 解决方法: cd 本地分支里1.git branch                ——*master   只显示master 然后查看是否从上游拉了2.git

【git基础】Permission denied (publickey). fatal: Could not read from remote repository

运行以下git命令的时候出现错误 git push -u origin master error The authenticity of host 'github.com (13.250.177.223)' can't be established. RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8. Are you sure you want to continue connecting (yes

git: fatal: Could not read from remote repository

This is probably an Intellij problem. Your key are managed natively by ssh, and Intellij has it's own ssh program. Go to the settings, search git->ssh executable then choose native As seen here : git with IntelliJ IDEA: Could not read from remote rep

Permission denied (publickey) fatal:Could not read from remote repository

安装了TortoiseGit之后,Eclipse能够克隆提交操作,但是通过文件夹的方式clone却总是报Permission denied (publickey)错误 ,网上找各种资料都没有解决. 报错信息如下图: 后面发现TortoiseGit Git clone时 "Load Putty Key"为灰色,并且里面的内容也是空的.(当时load Putty Key复选框也是灰色的) 也就怀疑可能是这个原因导致 Permission denied (publickey)错误,通过网上查

fatal: Could not read from remote repository.的解决办法

1. git remote –v查看远端地址或者查看配置 git config –list 2. git status 3. git add . git status git commit -m “本次要提交的概要信息” git push origin master把本地文件推送到远程仓库 4.git remote set-url origin 你的远端地址 设置远端仓库地址 git push origin master出现以下情况: 5.解决办法:删除远端当前仓库和当当前key,然后重新生成k