奇怪的错误在gitlab中:致命的:协议错误:坏行长度字符:Depl [英] Strange error in gitlab: fatal: protocol error: bad line length character: Depl

查看:149
本文介绍了奇怪的错误在gitlab中:致命的:协议错误:坏行长度字符:Depl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的一台服务器上,当我尝试在gitlab上拉/ ls-remote新创建的回购库时,出现以下错误:

  git ls-remote git@gitlab.com:mas-vem / dinnerdelivery.git 
致命错误:协议错误:坏行长度字符:Depl



如果我正在尝试使用ls-remote创建最早创建的存储库之一,则一切正常。



  ssh git@gitlab.com git-receive-pack mas-vem / dinnerdelivery.git 

我得到这个错误:

 部署密钥不允许推送

但是我不想推动= /



它可能是什么?是否gitlab问题或错误在我身边?

解决方案

发现问题:我忘记添加部署密钥repo = /问题解决后。


On one of my servers, when I'm try to pull/ls-remote fresh-created repo on gitlab, I'm getting these error:

git ls-remote git@gitlab.com:mas-vem/dinnerdelivery.git
fatal: protocol error: bad line length character: Depl

If I'm trying to ls-remote one of earliest created repositories, all is fine.

When I'm run this command:

ssh git@gitlab.com git-receive-pack mas-vem/dinnerdelivery.git

I'm getting this error:

Deploy key not allowed to push

But I doesn't want to push =/

What it could be? Does it is gitlab issue or error on my side?

解决方案

Found what is was problem: I just forgot to add deploy key to repo =/ After that issue was solved.

这篇关于奇怪的错误在gitlab中:致命的:协议错误:坏行长度字符:Depl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆