在 GCP 计算引擎中安装 gitolite 并在其中添加新的 ssh 公钥gitolite-admin/keydir/charley_rsa.pub
并为以下内容添加新存储库后charley
:
conf/gitolite.conf
:
repo test
RW+ = charley
然后:git clone gitolite-admin
在 GCP 本地控制台中是可以的。
当我们git clone
在远程本地 pc 中进行操作时,它显示 'DENIED by fallthru' 错误
git clone ssh://git@serverip/test
Cloning into 'test'...
FATAL: R any test charley_rsa DENIED by fallthru
(or you mis-spelled the reponame)
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
testing (@all)
(在远程本地电脑克隆是可以的)