Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 致命:远程端意外挂起,正在进行回迁_Git_Github - Fatal编程技术网

Git 致命:远程端意外挂起,正在进行回迁

Git 致命:远程端意外挂起,正在进行回迁,git,github,Git,Github,我按照github上的说明进行回购,但所有操作都可以,不包括配置远程设备。我被告知运行以下代码,但git fetch upstream返回以下致命消息:远程端意外挂起 这是什么原因造成的,有人能解释一下配置遥控器意味着什么吗 $ cd Spoon-KnifeChanges the active directory in the prompt to the newly cloned "Spoon-Knife" directory $ git remote add upstream git://gi

我按照github上的说明进行回购,但所有操作都可以,不包括配置远程设备。我被告知运行以下代码,但git fetch upstream返回以下
致命消息:远程端意外挂起
这是什么原因造成的,有人能解释一下配置遥控器意味着什么吗

$ cd Spoon-KnifeChanges the active directory in the prompt to the newly cloned "Spoon-Knife" directory
$ git remote add upstream git://github.com/octocat/Spoon-Knife.gitAssigns the original repo to a remote called "upstream"
$ git fetch upstream

为什么不重新开始呢

$ rm -rf Spoon-Knife
$ git clone git://github.com/octocat/Spoon-Knife.git
$ cd Spoon-Knife
$ git remote add upstream git://github.com/octocat/Spoon-Knife.git
$ git fetch upstream

至于
远程端意外挂起
错误,请参阅堆栈溢出问题(在众多问题中)——最可能的原因是您的SSH密钥设置不正确。

我没有收到致命错误:远程端意外挂起用于克隆的错误。嗯?我已经运行了ssh-Tgit@github.com它的身份验证很好。我跟踪了它们,一运行git clone,我就得到了一个致命的错误:远程端挂断。我运行的是mac osx,我运行的是完全没有sudo或什么都没有。天哪,很抱歉,我输入了错误的用户名,即anders而不是anderskitson