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

后端 未结 21 1080
春和景丽
春和景丽 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:44

    In my case that error was fixed by changing remote git-user shell to git-shell using chsh:

    chsh -s $(command -v git-shell) git
    

    Official git-shell documentation. For security reasons it is highly recommended to use this shell for git-user on remote repository server.

提交回复
热议问题