不可能推到Github [英] Pushing to Github impossible

查看:128
本文介绍了不可能推到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 -sh-keys



我通过HTTPS(git 1.7.9.5)使用推送功能:

  ** $ git push https://github.com/Vulpo/PR3003-2012.git master ** 
警告:gnome-keyring ::无法连接to:/ tmp / keyring-lsOUEX / pkcs11:没有这样的文件或目录
'https://github.com'的用户名:Vulpo
'https://Vulpo@github.com'的密码:
错误:RPC失败;结果= 56,HTTP代码= 0
致命:远程端意外挂起
致命:远程端意外挂起
所有最新的

和SSH(git 1.7.9.5):

 

code> ** $ git push git@github.com:Vulpo / myproject.git master **
输入密钥'/home/Vulpo/.ssh/id_rsa'的密码:
计数对象:19,完成。
使用多达2个线程的增量压缩。
压缩对象:100%(18/18),完成。
写作对象:100%(18/18),735.94 KiB,完成。
总计18(增量4),重用0(增量0)
写入失败:连接超时
写入失败:损坏的管道
致命:远程端意外挂起

使用HTTPS(git 1.8.1-rc2):

  ** $ git push origin master ** 
'https://github.com'的用户名:Vulpo
'https:// Vulpo @ github.com':
计数对象:21,完成。
使用多达2个线程的增量压缩。
压缩对象:100%(19/19),完成。
写作对象:100%(19/19),736.04 KiB,完成。
总计19(增量5),重用0(增量0)
错误:RPC失败;结果= 55,HTTP代码= 0
致命:远程端意外挂起
致命:在die处理程序中检测到递归
所有最新的

用SHH(git 1.8.1-rc2):

  ** $ git push git@github.com:Vulpo / myproject.git master ** 
输入密钥'/home/renardc/.ssh/id_rsa'的密码:
计数对象:21,完成。
使用多达2个线程的增量压缩。
压缩对象:100%(19/19),完成。
写作对象:100%(19/19),736.04 KiB,完成。
合计19(增量5),重用0(增量0)
写入失败:损坏的管道
致命:远程终端意外挂起
致命:在模块处理程序中检测到递归

这是我的 git config -l <​​/ strong>:

  user.name = Vulpo 
user.email=vulpo@my.mail
core.autocrlf =输入
核心。 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的电脑! (在Windows上为Git 1.8.0?)。但它不能解决我的问题。至少,它表明问题来自我自己的配置。

解决方案

好吧,看看这个小家伙说了什么。




I recently created my first gi repository on Github, I cloned it with no problem using carefully http://git-scm.com/documentation. I found no one on the internet having the same issue. I tried 2 different versions of Git : first 1.7.9.5 (from apt-get), then 1.8.1-rc2 (from sources), but finally went back on 1.7.9.5 (from apt-get). I tried by HTTP and SSH (using https://help.github.com/articles/generating-ssh-keys)

What I getwhen using 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

and with 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

with 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

with 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

Here is my 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

It seems like no one on the web had this problem before. Anyone has some Idea ?

I tried later (even if I am sure it is NOT because of any github maintenance) and it did not work either. I could push a very light file, but not what I really want to upload (2.3MBytes).

edit : It worked using my broser's computer ! (Git 1.8.0.? on Windows). But it does not resolve my problem. At least, it shows that the problem comes from my own config.

解决方案

Well, look what this little guy has got to say.

这篇关于不可能推到Github的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆