混帐推起源主返回错误不能产卵......为什么?

问题描述 投票:10回答:5

我试图使用GitHub上的第一次,但经过许多问题试图得到验证正确的,我已经成功与[email protected]进行身份验证并创建了一个回购,但是当我尝试“混帐推起源大师”我得到以下错误:

$ git push origin master
error: cannot spawn : No such file or directory
fatal: unable to fork

我找不到任何理由的错误或故障排除页任何解释,任何人都可以说明为什么这可能是因为我得到这个错误。

如下我已经指定/添加远程路径:

$ git remote add origin [email protected]:christopherdebeer/yUML-Diagram.git

请帮忙。

也这是所有上的窗口7机器运行mysysgit(1.7.0.2),并使用GIT中是bash。

回复:问题313,在GIT_SSH可变的空间,不能是我的问题是:

$GIT_SSH="c:/putty/plink.exe"
git windows-7 github msysgit
5个回答
4
投票

这提醒issue 313,其中GIT_SSH环境变量包含在其路径中有空格的我。

除此之外,你跟着GitHub Help page和检查,如果你的ssh连接工作?

$ ssh [email protected]
The authenticity of host 'github.com (207.97.227.239)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of known hosts.
ERROR: Hi tekkub! You've successfully authenticated, but GitHub does not provide shell access
Connection to github.com closed.

2
投票

我不知道这是否只是愚蠢的我自己,但我已经解决了这个问题......这是我做了什么(从咨询,从同事):

我试图推动在本地回购更改空回购GitHub上...

我本来应该做的是克隆空的回购协议,在本地的文件添加到我的克隆回购,添加的文件,COMMITED的增加,然后推到GitHub库...

$ git clone [email protected]:christopherdebeer/yUML-Diagram.git
 // added files
$ git add *
$ git commit -m "first commit locally"
$ git push origin master

我原来的问题可能是由于我的天真完全以作为控释片的使用...


1
投票

我不知道这是否只是一个smartgit的问题,但是当这种情况发生在该程序的实际权限问题上的临时文件夹。这似乎是Windows 7和8偶尔重置的临时目录的权限,你需要改变他们回满读写烫发。


0
投票

我有同样的问题。我改变了我的远程链路:

[email protected]:Prathapnagaraj/trydjango18.git

到网址链接:

https://github.com/Prathapnagaraj/trydjango18

然后它工作得很好。


0
投票

做一个拉第一,前推。看来,有时你的本地回购获得“过时”。当我不推或一个星期左右拉什么,我需要拉(即使有没有变化,因为我是唯一一个对回购工作)。

© www.soinside.com 2019 - 2024. All rights reserved.