xcode – 不能推送到远程git存储库

所以我一直在麻烦把我最近的提交到我在Bitbucket上设置的远程仓库.

我最初使用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更多的细节.

编辑:这是结果;

git状态:

# 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远程显示原产地:

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)

解决方法

看起来你正在尝试推一个大三角洲和你的 push buffer is not big enough

尝试这个:

git config http.postBuffer 524288000

相关文章

UITabBarController 是 iOS 中用于管理和显示选项卡界面的一...
UITableView的重用机制避免了频繁创建和销毁单元格的开销,使...
Objective-C中,类的实例变量(instance variables)和属性(...
从内存管理的角度来看,block可以作为方法的传入参数是因为b...
WKWebView 是 iOS 开发中用于显示网页内容的组件,它是在 iO...
OC中常用的多线程编程技术: 1. NSThread NSThread是Objecti...