小编use*_*044的帖子

Git推送导致致命:协议错误:线路长度不好:这个

我想让GitLab在我的服务器上运行(运行CentOS 6.5).我跟着gitlab-receipe到线,但我无法让它工作.我能够访问Web界面,创建新项目但推送到主分支返回以下错误:

fatal: protocol error: bad line length character: This
Run Code Online (Sandbox Code Playgroud)

我已经对生产环境进行了检查,结果如下:

Checking Environment ...

Git configured for git user? ... yes

Checking Environment ... Finished

Checking GitLab Shell ...

GitLab Shell version >= 1.7.9 ? ... OK (1.8.0)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ... …
Run Code Online (Sandbox Code Playgroud)

git ssh repository gitlab

37
推荐指数
3
解决办法
8万
查看次数

标签 统计

git ×1

gitlab ×1

repository ×1

ssh ×1