gitlab中的奇怪错误:致命:协议错误:错误的行长字符:Depl [英] Strange error in gitlab: fatal: protocol error: bad line length character: Depl
本文介绍了gitlab中的奇怪错误:致命:协议错误:错误的行长字符:Depl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的一台服务器上,当我尝试在 gitlab 上 pull/ls-remote 新创建的 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
如果我尝试 ls-remote 最早创建的存储库之一,一切都很好.
If I'm trying to ls-remote one of earliest created repositories, all is fine.
当我运行这个命令时:
ssh git@gitlab.com git-receive-pack mas-vem/dinnerdelivery.git
我收到此错误:
Deploy key not allowed to push
但我不想推=/
可能是什么?是我这边的 gitlab 问题还是错误?
What it could be? Does it is gitlab issue or error on my side?
推荐答案
发现问题所在:我只是忘记将部署密钥添加到 repo =/问题解决后.
Found what is was problem: I just forgot to add deploy key to repo =/ After that issue was solved.
这篇关于gitlab中的奇怪错误:致命:协议错误:错误的行长字符:Depl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文