git push error fatal: The remote end hung up unexpectedly

 

 

[root@AY12112105130655f7992 ~]# git clone git@10.200.136.2:gitosis-admin.git 
Initialized empty Git repository in /root/gitosis-admin/.git/ 
Permission denied (publickey,gssapi-keyex,gssapi-with-mic). 

fatal: The remote end hung up unexpectedly

原因: 上传文件太大所致

 

修复方法: git config http.postBuffer 524288000 

 

 

posted @ 2013-12-12 11:20  Shaman  阅读(358)  评论(0编辑  收藏  举报