git Could not read from remote repository 解决

错误:

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

Please make sure you have the correct access rights
and the repository exists.

解决办法:

[email protected] /f/gitrepo/TestJedis (master)
$ git remote add origin [email protected]:TestRedis.git
[email protected] /f/gitrepo/TestJedis (master)
$ git push origin master
ssh: gitserver: no address associated with name
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
[email protected] /f/gitrepo/TestJedis (master)
$ git remote set-url origin [email protected]:afredlyj/TestRedis.git
[email protected] /f/gitrepo/TestJedis (master)
$ git push origin master
Enter passphrase for key ‘/c/Users/Elvis/.ssh/id_rsa‘:
Counting objects: 8, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 2.07 KiB, done.
Total 7 (delta 2), reused 0 (delta 0)
To [email protected]:afredlyj/TestRedis.git
   7bcfb1a..b02a2fe  master -> master
[email protected] /f/gitrepo/TestJedis (master)

时间: 2024-08-06 10:51:51

git Could not read from remote repository 解决的相关文章

git "Could not read from remote repository.Please make&n

git "Could not read from remote repository.Please make sure you have the correct access rights."解决方案 标签: git 2015-09-28 17:55 11492人阅读 评论(0) 收藏 举报  分类: git(2)  版权声明:本文为博主原创文章,未经博主允许不得转载. 我们在使用Git clone 或其他命令的时候,有时候会遇到这类问题,如图: fatal: Could not re

git "Could not read from remote repository.Please make sure you have the correct access rights."解决方案

我们在使用git clone 或其他命令的时候,有时候会遇到这类问题,如图: fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. fatal: Could not read from remote repository.Please make sure you have the correct acc

git服务端问题解决 fatal: No remote repository specified. Please, specify either a URL or a remote name from which new revisions should be fetched.

===== 下面的解决办法,可能只是适用于我遇到的这种情况,又想做钩子,又想恢复原先老人们配置的git的正常使用. ===== 因为是以前离职的员工配的,所以先检查一下原来的git能能正常使用不: 1.只有一条分支 master 2.版本库和项目目录是同一个,即 git clone [email protected]:/home/project 生产服务器上的项目目录也是: /home/project => 不知道 他们这么配的道理是什么. 3.在生产服务器上,执行 git pull,报告如下错

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提示错误关于错误: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时出现了错误.经

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