Git push results in fatal: protocol error: bad line length character: This

后端 未结 21 1078
春和景丽
春和景丽 2020-11-28 10:56

I am trying to get GitLab working on my server (running CentOS 6.5). I followed the gitlab-receipe to the line, but I just can\'t get it working. I am able to access the web

21条回答
  •  被撕碎了的回忆
    2020-11-28 11:51

    Another possibility is that you misspelled the repository name.

    I've done it twice in the last two days. I added a remote and misspelled it and I misspelled the name when creating the project on GitLab.

    In both cases when I tried to push to remote I got

    fatal: protocol error: bad line length character: No s
    

    So check that spelling!

    Also, if you create the project under a different name (like a group) make sure that's the remote you add.

提交回复
热议问题