gpt4 book ai didi

xcode - 无法推送到远程 git 存储库

转载 作者:IT王子 更新时间:2023-10-29 00:59:05 26 4
gpt4 key购买 nike

所以我一直无法将我最近的提交推送到我在 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 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)

最佳答案

看起来你正试图 push 一个大的增量和你的 push buffer is not big enough

试试这个:

git config http.postBuffer 524288000

关于xcode - 无法推送到远程 git 存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11968353/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com