我想第一次使用GitHub,但在尝试获取身份验证权限之后,我设法使用[email protected]进行身份验证并创建了一个回购,但是当我尝试“git push origin主”我得到以下错误:Git push origin master return错误无法产生...为什么?
$ 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
请帮助:
我已经指定/如下添加远程路径。
此外,这是所有在运行mysysgit(1.7.0.2)和使用git bash的Windows 7机器上。
重:问题313,在GIT_SSH可变的空间,不能是我的问题是:
$GIT_SSH="c:/putty/plink.exe"
奇怪,因为你不应该能够克隆一个空的回购:http:// stackoverflow .com/questions/1298190/gitosis-and-git-clone-problem/1298224#1298224 and http://stackoverflow.com/questions/895819/whats-the-most-straightforward-way-to-clone-an-empty -bare-git-repository/895828#895828。另见http://support.github.com/discussions/repos/150-can not-clone-an-empty-repo – VonC 2010-06-26 19:31:14
我从工作同事那里得到的建议,(他根本没有使用git,但没有svn)......当我提到我的问题时,他建议克隆空回购...尽管这是惯例(如果不是svn),那么至少对他来说是这样。 – Christopher 2010-06-26 19:39:50
这很奇怪,你说它不可能......因为它确实为我工作。 – Christopher 2010-06-26 19:41:45