GitWeb : Cloning doesn't succeed

标签 git centos gitweb

我刚刚在 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/) 他会看到所有的:

enter image description here

最佳答案

根据你在命令行中写的:


我可以建议您尝试连接到名为 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/

相关文章:

ruby-on-rails - 是否可以在不使用 Heroku Toolbelt 的情况下部署 Rails 应用程序?如果是这样,如何?

java - 编译渲染脚本源代码

python - 如何在Centos 7上正确安装python3

module - Zabbix IBM MQM 可加载模块阻止 Zabbix Agent 服务

git - 为什么 git 有时会显示文件已更改,但实际上并未更改?

git - 我在 gitweb 中看不到我的项目。如何正确配置 gitweb?

git - 如何在 git 中不进行后续编辑的情况下进行重命名?

未在 Windows 上执行 Git clean 过滤器

centos - 如何安装 librsync

gitweb - 使用 gitweb 发布多个 git 存储库