Answer the question
In order to leave comments, you need to log in
What is the error when doing git push in gitlab?
Configuration:
CentOS 6.5
Gitlab 6.9.2
Nginx 1.0.15
Ruby 2.0.0p481 (2014-05-08 revision 45883)
:.git# git push -u origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 206 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
fatal: protocol error: bad line length character: 385
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Answer the question
In order to leave comments, you need to log in
I found the solution myself, on the gitlab server it is necessary to register 127.0.0.1 mygitlab.ru in /etc/hosts
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question