第一步:我在linux服务器上安装好了git服务器,
第二步:我使用git init /home/git/item/test.git命令,创建了一个git仓库;
第三步:我在linux服务器上的另一个文件夹迁出代码:git clone git@127.0.0.1:/home/git/item/test.git
然后就报错了,错误如下:
ERROR:gitosis.serve.main:Repository read access denied
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
求解决方法,谢谢
不是说了么 没权限啊, 检查git帐号的SSH权限
本地直接这样就好了