我刚刚在 centos 7 机器上设置了一个 gitweb 服务器,但是当我尝试克隆时,他问我密码?我怎么能更改服务器上的密码,因为我从来没有设置过...
$ git clone git@xxx.xxx.x.xx:gitolite-admin.git
Cloning into 'gitolite-admin'...
git@xxx.xxx.x.xx's password:
Permission denied, please try again.
编辑
我强制修改了服务器上的git用户密码,现在可以了。
但是我明白了:
fatal: 'testing.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
但是如果我继续访问 url ( http://xxx.xxx.x.xx/gitweb/) 他会看到所有的:
最佳答案
根据你在命令行中写的:
我可以建议您尝试连接到名为 git 的用户,该用户在开始阶段设置了密码。
您的连接是通过 ssd;你能尝试通过 ssh-dss 连接并更新我们吗?
也可以考虑看看这个网站,因为它可能会有帮助: [gitweb-simple-usage-on-centos-7][1] http://frederic-wou.net/gitweb-simple-usage-on-centos-7-2/
关于GitWeb : Cloning doesn't succeed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43341316/