【发布时间】:2011-11-11 05:54:50
【问题描述】:
为什么我的 git 存储库 url 正确时会出现此错误?
jitendra@JITENDRA-PC /c/mySite (master)
$ git push beanstalk master
fatal: 'git@skarp.beanstalkapp.com/gittest.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
jitendra@JITENDRA-PC /c/mySite (master)
$ git clone git://github.com/jquery/jquery.git
Cloning into jquery...
Remote: Counting objects: 19803, done.
Remote: Compressing objects: 100% (5196/5196), done.
Remote: Total 19803 (delta 14204), reused 19549 (delta 14052)
Receiving objects: 100% (19803/19803), 12.80 MiB | 591 KiB/s, done.
Resolving deltas: 100% (14204/14204), done.
jitendra@JITENDRA-PC /c/mySite (master)
$ gitk --all
jitendra@JITENDRA-PC /c/mySite (master)
$ gitk -all
jitendra@JITENDRA-PC /c/mySite (master)
$ git remote add origin git@skarp.beanstalkapp.com/gittest.git
jitendra@JITENDRA-PC /c/mySite (master)
$ git push origin master
fatal: 'git@skarp.beanstalkapp.com/gittest.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
jitendra@JITENDRA-PC /c/mySite (master)
编辑:替换原来的screenshot
编辑:
fatal: 'git@skarp.beanstalkapp.com/gittest.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
【问题讨论】:
-
你确定没问题吗?你可以从 gettest.git 克隆吗?在上面的示例中,您正在克隆另一个 jquery。
-
我想将我的本地文件夹+文件添加到我的 git 托管
-
为了将来参考,请在问题中包含文本 - 作为文本。文本图像脱机,即使不脱机,它们也会阻止复制和粘贴等。
标签: git git-remote