我想让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存储库时都会出现致命错误:
我运行这个:
$ git clone sftp://foo@bar.ca/git/foobar.git
Run Code Online (Sandbox Code Playgroud)
我明白了
fatal: Unable to find remote helper for 'sftp'
Run Code Online (Sandbox Code Playgroud)
我正在尝试从一台服务器克隆到另一台服务器,这两台服务器都使用SSH身份验证.
是否需要安装以启用此SFTP远程帮助程序?
提前感谢您提供的任何建议!
我有一个Windows 2008 R2 Server标准版.我和Git一起安装了FreeSSHd.Windows防火墙的例外设置为端口22.我将SSH服务器设置为仅接受SSH公钥.我可以使用终端(即ssh gregory@hostname)登录服务器.当我去使用git clone命令(例如git clone ssh://gregory@hostname/path_to_my_repo)时,我收到此错误:
致命:协议错误:线路长度不良字符:Unab
对于造成这种情况的原因,我完全不知所措.我启用了Shell,SFTP和隧道协议.
在我的一台服务器上,当我尝试在gitlab上拉/ ls-remote新创建的repo时,我收到这些错误:
git ls-remote git@gitlab.com:mas-vem/dinnerdelivery.git
fatal: protocol error: bad line length character: Depl
Run Code Online (Sandbox Code Playgroud)
如果我试图远程创建最早创建的存储库之一,一切都很好.
当我运行此命令时:
ssh git@gitlab.com git-receive-pack mas-vem/dinnerdelivery.git
Run Code Online (Sandbox Code Playgroud)
我收到这个错误:
Deploy key not allowed to push
Run Code Online (Sandbox Code Playgroud)
但我不想推= /
可能是什么?我身边是gitlab问题还是错误?
我有一个git服务器(CentOS 6.5上的git 1.7.1)正常运行一年,
而git clone/ pull/ push通过https工作就像一个魅力.
但今天,当我尝试将此文件推送到我的服务器时,它失败并显示以下错误消息:
Counting objects: 17, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 11.33 KiB | 0 bytes/s, done.
Total 7 (delta 4), reused 0 (delta 0)
fatal: protocol error: bad line length character: < HTM
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
git did not exit cleanly (exit code 128) (13370 …Run Code Online (Sandbox Code Playgroud) 需要访问远程存储库的所有git命令都会失败,并显示错误消息:
fatal: protocol error: bad line length character: Pass
Run Code Online (Sandbox Code Playgroud)
他们几天前曾经工作过.