2012-08-15 199 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为我工作。

相关问题