2012-08-15 17 views
10

Así que he estado teniendo problemas para migrar mis confirmaciones más recientes a un repositorio remoto que he configurado en Bitbucket.No se puede enviar al repositorio remoto de git

Originalmente estoy usando Xcode, y he pedido this question y me recomendaron usar terminal para pulsar en lugar de Xcode.

Ahora, probé la terminal pero eso no solucionó el problema. Pero me dio un mensaje de error más detallado cuando intento 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$ 

Soy nuevo en estos repositorios remotos, y tenía todo funcionando muy bien en Xcode, así que si me recomienda que haga algo en el terminal que sería ayuda si describiste cómo hacerlo.

Ver mi previous question para un poco más de detalle.


EDITAR: Este es el resultado de;

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

¿Cuál es la salida de 'git status' y' git remote show origin'? – Philipp

+0

Voy a intentar esto cuando llegue a casa hoy, y luego me comunico con usted –

Respuesta

17

Parece que usted está tratando de empujar un gran delta y su push buffer is not big enough

Prueba esto:

git config http.postBuffer 524288000 
+0

Aunque he enviado confirmaciones más grandes antes de –

+3

¿Está diciendo que el comando no ayudó? –

+0

Acabo de probarlo, y funcionó. ¡¡Gracias!! –

2

Tuve el mismo problema y git config http.postBuffer 524288000 funcionó para mí.

Cuestiones relacionadas