2012-12-23 80 views
3

我最近在Github上創建了我的第一個gi存儲庫,我仔細地使用它來克隆它,使用http://git-scm.com/documentation。我發現互聯網上沒有人有同樣的問題。我嘗試了兩個不同版本的Git:第一個是1.7.9.5(來自apt-get),然後是1.8.1-rc2(來自源代碼),但最後回到了1.7.9.5(來自apt-get)。我嘗試(使用https://help.github.com/articles/generating-ssh-keys推動Github不可能

我getwhen使用推穿HTTPS什麼(GIT 1.7.9.5)通過HTTP和SSH:

**$ 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://[email protected]': 
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 [email protected]: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://[email protected]': 
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 

與SHH(GIT 1.8.1-RC2):

**$ git push [email protected]: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 

這裏是我的混帳配置-l

user.name=Vulpo 
[email protected] 
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上維護NOT),它也不能工作。我可以推送一個非常輕的文件,但不是我真正想要上傳的(2.3MBytes)。

編輯:它使用我的broser的電腦工作! (在Windows上的Git 1.8.0?)。但它不能解決我的問題。至少,它表明問題來自我自己的配置。

+6

哈哈,哇。這*確實很糟糕。你什麼時候嘗試過?我查看了https://status.github.com/,似乎目前有某種中斷。 (「我們目前正在經歷所有服務的主要服務中斷」) – Ryan

+1

https://github.com/blog/1363-scheduled-maintenance-windows – ctor

+0

我克隆並試圖推動星期六下午(GMT + 1)和Github沒有顯示任何維修問題給我。現在,我仍然有同樣的問題。是否有任何網站可以查看每個錯誤代碼的含義?我正在使用Linux(Ubuntu 12.04)。我不知道爲什麼,但我現在無法在Github上創建一個新的存儲庫(我不知道爲什麼存儲庫名稱檢查很長,然後顯示一條紅色警告,沒有消息,即使是隨機名稱,但這是另一個問題)。我只是試圖推動一個文件進行測試,它的工作。但它並不適合我真正想要推動的(2.3MByte)。 – Vulpo

回答

8

那麼,看看這個小傢伙有什麼話要說。

Github