git - 为什么 Gitolite 在克隆时给出“无效的仓库名称”?
问题描述
我正在尝试从运行 Gitolite 的服务器克隆一个 repo,但它给了我一个错误:
$ git clone ssh://git@git.example.com:1234/users/me/foo
Cloning into 'foo'...
FATAL: invalid repo name: 'users/me/foo'
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
但是,我知道回购存在,因为ssh -p 1234 git@git.example.com info
给出:
hello me, this is git@git.example.com running gitolite3 v3.6-16-g4fefd3f on git 1.7.10.4
R W users/me/foo
我什至从该输出中复制/粘贴了 repo 的名称,所以我知道我没有拼错它。
我正在 Windows 8 上的 Git Bash 中执行此操作。
为什么会发生这种情况,我该如何解决?
解决方案
推荐阅读
- c# - 协助 C# LDAP 查询
- javascript - 每当我向下滚动并点击汉堡包图标时,固定定位的标题就会转到最顶部
- google-maps-markers - 使用 MapContainer.addMarker(Component, Coord) 添加标记仅在按下屏幕时有效
- python - 在 Textacy 中计算单个单词的 TD-IDF
- sql-server - 如何根据定义的规则生成不包括节假日的工作日日期列表
- ios - 在 MTLComputePipelineState 上,什么决定了 maxTotalThreadsPerThreadgroup?
- hadoop - 调整 Hadoop 参数
- verilog - 如何使用/调用其他模块来实现自己的与非门?
- go - 如何在 GORM 中删除具有关系的表?
- laravel - Symlink 通过部署脚本在 Laravel Envoyer 中上传文件夹