git error

来源:互联网 发布:为什么会有域名纠纷 编辑:程序博客网 时间:2024/04/30 10:34


1、eclipse 上传更新的时候出现:cannot open git-receive-pack,可以试试下面的配置

windows-->Preferences-->Team-->Git-->Configuration-->User Settings.然后点Add Entry新建一个键值对,输入http.sslVerify=false,如下图图所示:



2、GIT PUSH ERROR : ERROR WRITING REQUEST BODY TO SERVER

While pushing your project to your git repository, if you get an error like “ERROR WRITING REQUEST BODY TO SERVER”, don’t worry about it. Probably your are trying to push some large files. Here you will see how to get over it:


First, open your Git Bash exe
Change to your local git repository directory
Run this:  git config https.postBuffer 524288000
Try push again
And That should do it.


If you dont have  Git Bash, You can also do it by


Open Eclipse>Git Repositories Perspective
Right click on yourrepository
Follow Properties>Configuration>AddEntry(Key:https.postBuffer,Value:524288000)
Click Ok.
Try push again.
Thats it.

——http://www.dogansever.net/?p=73


0 0