我一直在尝试将最新的提交推送到我在Bitbucket上设置的远程存储库,但遇到了麻烦。
我最初使用的是Xcode,并且询问了这个问题,被建议使用终端而不是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上一切都正常,如果你建议我在终端上进行操作,描述如何操作会很有帮助。
请参考我的之前的问题获取更多细节。
编辑:这是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)
git status
和git remote show origin
的输出是什么? - Philipp