git pull时报错fatal: Could not read from remote repository.
来源:互联网 发布:linux服务器优点 编辑:程序博客网 时间:2024/05/26 02:52
git pull 时 报错如下信息:
ssh: Could not resolve hostname https: nodename nor servname provided, or not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
这是由于你的git地址采用了ssh方式,切换为https方式即可,也可能是你的仓库地址不对,可以使用如下命令先查看一下:
$ git remote -v
origin https:YourUserName/YatouTest00123.git (fetch)
origin https:YourUserName/YatouTest00123.git (push)
你会发现跟你的github地址不一样,登上你的github,找到仓库地址,如图,复制下来:
然后在终端中输入:
$ git remote set-url origin https://github.com/YourUserName/YatouTest00123.git
注:origin后面换成刚刚让你复制的仓库地址。
然后重新 执行 git pull 即可pull成功。
0 0
- git pull时报错fatal: Could not read from remote repository.
- git pull时报错fatal: Could not read from remote repository.
- Git Pull Failed: Could not read from remote repository
- fatal: Could not read from remote repository
- git pull 出错 fatal: Could not read from remote repository.Please make sure you have the correct acces
- git pull 出错 fatal: Could not read from remote repository.Please make sure you have the correct acces
- git pull 出错 fatal: Could not read from remote repository.Please make sure you have the correct acces
- Permission denied (publickey) fatal:Could not read from remote repository
- fatal: Could not read from remote repository.的解决办法
- fatal: Could not read from remote repository.的解决办法
- fatal: Could not read from remote repository.的解决办法
- Permission denied (publickey). fatal: Could not read from remote repository.
- Permission denied (publickey).fatal: Could not read from remote repository.
- fatal: Could not read from remote repository.的解决办法
- Permission denied (publickey). fatal: Could not read from remote repository
- fatal: Authentication failed could not read from remote repository
- fatal: Could not read from remote repository.的解决办法
- git: Permission denied(publickey). fatal:Could not read from remote repository.
- 内核驱动笔记(二)——beep驱动
- 用maven搭建springmvc项目时,jsp页面无法加载js或者css等静态资源
- UE4 VR 模式下全屏解决办法
- android控制TextView字数长短,超出之后显示省略号,记录下,省的下次再找
- 使用FileDownLoader下载文件
- git pull时报错fatal: Could not read from remote repository.
- 产生不同随机数,输入数据用折半查找判断数据是否存在。
- DOM 位置大小操作
- 今日头条 面试题一例
- angular中controller在不同场景下的状态
- 掩码学习笔记(不断更新)
- Spark学习笔记(一)
- perl unload oracle gbk
- Linux--多线程拷贝文件案例及其传参说明