【发布时间】:2020-06-22 19:50:17
【问题描述】:
您好,当我尝试从远程存储库 github 拉取数据时出现此错误
youssef@alyAppTest:~/alyBackend$ git pull origin master
ssh: Could not resolve hostname github.com: No address associated with hostname
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我不知道为什么,几分钟前它还可以正常工作。
当我运行 git remote -v 它仍然指向正确的存储库
还检查下面的文件..git/config,它似乎具有正确的值
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = git@github.com:{USERNAME}/{REPOS}.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
我最近对服务器所做的事情: 我确实使用了很多拉和推命令这些命令的数量有限制吗?
我也确实在我的服务器上安装了 nginx,会不会有影响
【问题讨论】: