推向Github是不可能的

Vul*_*lpo 3 git push github

我最近在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)

使用push through 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
Run Code Online (Sandbox Code Playgroud)

并使用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
Run Code Online (Sandbox Code Playgroud)

使用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
Run Code Online (Sandbox Code Playgroud)

与SHH(git 1.8.1-rc2):

**$ 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
Run Code Online (Sandbox Code Playgroud)

这是我的git config -l:

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
Run Code Online (Sandbox Code Playgroud)

看起来网上没有人有这个问题.有人有想法吗?

我后来尝试过(即使我确定它不是因为任何github维护)而且它也没有用.我可以推送一个非常轻的文件,但不是我真正想上传的文件(2.3MBytes).

编辑:它使用我的broser的电脑工作!(Git 1.8.0.?在Windows上).但它并没有解决我的问题.至少,它表明问题来自我自己的配置.

tur*_*rnt 8

好吧,看看这个小家伙要说些什么.

Github上