我最近在Github上创建了我的第一个gi存储库,我在使用http://git-scm.com/documentation时毫无问题地克隆了它。我发现互联网上没有人有同样的问题。我尝试了两个不同版本的Git:第一个1.7.9.5(来自apt-get),然后是1.8.1-rc2(来自源代码),但最终还是回到1.7.9.5(来自apt-get)。我试过HTTP和SSH(使用https://help.github.com/articles/generating-ssh-keys)
使用推送通过HTTPS(git 1.7.9.5)时得到的结果:
**$ git push https://github.com/Vulpo/PR3003-2012.git master**
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-lsOUEX/pkcs11: No such file or directory
Username for 'https://github.com': Vulpo
Password for 'https://Vulpo@github.com':
error: RPC failed; result=56, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
和SSH(git 1.7.9.5):
**$ git push git@github.com:Vulpo/myproject.git master**
Enter passphrase for key '/home/Vulpo/.ssh/id_rsa':
Counting objects: 19, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (18/18), done.
Writing objects: 100% (18/18), 735.94 KiB, done.
Total 18 (delta 4), reused 0 (delta 0)
Write failed: Connection timed out
Write failed: Broken pipe
fatal: The remote end hung up unexpectedly
使用HTTPS(git 1.8.1-rc2):
**$ git push origin master**
Username for 'https://github.com': Vulpo
Password for 'https://Vulpo@github.com':
Counting objects: 21, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (19/19), done.
Writing objects: 100% (19/19), 736.04 KiB, done.
Total 19 (delta 5), reused 0 (delta 0)
error: RPC failed; result=55, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: recursion detected in die handler
Everything up-to-date
**$ git push git@github.com:Vulpo/myproject.git master**
Enter passphrase for key '/home/renardc/.ssh/id_rsa':
Counting objects: 21, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (19/19), done.
Writing objects: 100% (19/19), 736.04 KiB, done.
Total 19 (delta 5), reused 0 (delta 0)
Write failed: Broken pipe
fatal: The remote end hung up unexpectedly
fatal: recursion detected in die handler
这是我的 git config -l </ strong>:
user.name=Vulpo
user.email=vulpo@my.mail
core.autocrlf=input
core.safecrlf=true
core.editor=vim
merge.tool=vimdiff
http.postbuffer=524288000
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=https://github.com/Vulpo/myproject.git
branch.master.remote=origin
branch.master.merge=refs/heads/master
似乎以前没有人在网上遇到这个问题。任何人都有一些想法?
我后来尝试过(即使我确定它不是因为任何github维护)而且它也不起作用。我可以推送一个非常轻的文件,但不是我真正想要上传的文件(2.3MBytes)。
编辑:它使用我的broser的电脑工作! (Git 1.8.0。?在Windows上)。但它并没有解决我的问题。至少,它表明问题来自我自己的配置。
答案 0 :(得分:8)
好吧,看看这个小家伙要说些什么。
答案 1 :(得分:1)
GitHub失败了。请参阅此站点以了解其服务器状态。 https://status.github.com/