2012-08-15 131 views
10

所以我一直有麻煩推動我最近提交到我已經在Bitbucket上設置的遠程存儲庫。無法推送到遠程git存儲庫

我最初使用的是Xcode,並且詢問了this question並被推薦使用終端來代替Xcode。

現在,我試過終端,但沒有解決問題。但它確實給我一個更詳細的錯誤消息時,我嘗試git push

Neils-iMac:ProjectName Neil$ git push 
Password: 

Counting objects: 49, done. 
Delta compression using up to 4 threads. 
Compressing objects: 100% (38/38), done. 
Writing objects: 100% (39/39), 975.78 KiB, done. 
Total 39 (delta 31), reused 0 (delta 0) 
error: RPC failed; result=55, HTTP code = 0 
fatal: The remote end hung up unexpectedly 
fatal: The remote end hung up unexpectedly 
fatal: expected ok/error, helper said '2004\??? ?&?ЇҶ-9?u?r?m?v?ǣ3Ƅ:??Eƒ?=?&?"d?+?? 
    *^?eA??/3cv????ʞe??f??????? 
           ?(??`}D???5???^:T??PxP????%?338?]??F?}???Gf?g??[??*??}zƈ1X' 

Neils-iMac:ProjectName Neil$ 
Neils-iMac:ProjectName Neil$ 

我是新來的這些遠程倉庫,並擁有一切在Xcode中工作正常,所以如果你推薦我在終端做一些它會如果你描述瞭如何這樣做,請幫忙。

查看我的previous question瞭解更多詳情。


EDIT:這是的結果;

git status

# On branch master 
# Your branch is ahead of 'origin/master' by 5 commits. 
# 
# Untracked files: 
# (use "git add <file>..." to include in what will be committed) 
# 
# CrunchCalculator.xcodeproj/project.xcworkspace/ 
# CrunchCalculator.xcodeproj/xcuserdata/ 
nothing added to commit but untracked files present (use "git add" to track) 

git remote show origin

HEAD branch: master 
    Remote branch: 
    master tracked 
    Local branch configured for 'git pull': 
    master merges with remote master 
    Local ref configured for 'git push': 
    master pushes to master (fast-forwardable) 
+0

'git status'和'git remote show origin'的輸出是什麼? – Philipp 2012-08-15 12:22:37

+0

我會在今天回家的時候試試這個,然後回覆你 – 2012-08-15 12:54:31

回答

17

貌似你試圖推動的大型三角洲和你push buffer is not big enough

試試這個:

git config http.postBuffer 524288000 
+0

雖然我在 – 2012-08-15 13:52:03

+3

之前推過更大的提交你是說命令沒有幫助? – 2012-08-15 14:38:26

+0

只是試了一下,它的工作。謝謝!! – 2012-08-15 22:39:24

2

我有同樣的問題,git config http.postBuffer 524288000爲我工作。

相關問題