我想用缓存加速网络中一些git-repos的克隆。我设置了回购程序并运行git-守护进程。
现在我可以打电话了
git clone git://my_ip/my_repo但失败的是
git clone --reference git://my_ip/my_repo git://github.com/my_repo.git使用
fatal: path 'git://my_ip/my_repo' does not exist是否有一种为--reference使用远程存储库的方法?还是我需要本地的参考资料?
发布于 2017-10-03 20:50:22
--reference只涉及本地存储库。见https://git-scm.com/docs/git-clone#git-clone---reference-if-ableltrepositorygt的文档
如果引用存储库位于本地机器上,则自动设置..git/ objects /info/交替以从引用存储库获取对象。
https://stackoverflow.com/questions/46552380
复制相似问题