2012-08-15 23 views
10

Quindi ho avuto problemi a trasferire i miei più recenti commit in un repository remoto che ho impostato su Bitbucket.Impossibile inviare al repository git remoto

Inizialmente utilizzo Xcode e ho chiesto this question e mi è stato consigliato di usare il terminale per premere invece di Xcode.

Ora, ho provato il terminale ma questo non ha risolto il problema. Ma mi ha dato un messaggio di errore più dettagliato quando provo 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$ 

Sono nuovo di queste repository remoti, e aveva tutto funziona bene su Xcode, quindi se raccomandare per me di fare qualcosa in terminale sarebbe aiuto se hai descritto come farlo.

Vedere il mio previous question per ulteriori dettagli.


EDIT: Questo è il risultato di;

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

Qual è l'output di 'git status' e' git remote show origin'? – Philipp

+0

Cercherò di provarlo quando arrivo a casa oggi, poi torno a te –

risposta

17

Sembra che si sta tentando di spingere un grande delta e la tua push buffer is not big enough

provare questo:

git config http.postBuffer 524288000 
+0

Anche se ho spinto i commit più grandi prima di –

+3

Stai dicendo che il comando non ha aiutato? –

+0

Ho appena provato e ha funzionato. Grazie!! –

2

Ho avuto lo stesso problema e git config http.postBuffer 524288000 ha funzionato per me.

Problemi correlati