git:镜像远程 git 服务器上存在的所有存储库?
我正在设置一个 git 服务器,该服务器镜像我们主 git 服务器上存在的所有现有和未来的存储库。由于我无法静态列出要镜像的所有存储库,我想知道检索此列表并对每个存储库执行“git clone --mirror”的最佳方法。
或者,保持镜像同步的推送方法也可以。其他人在做什么?我是 git (系统管理员) 的新手。
I am in the process of setting up a git server that mirrors all existing and future repositories that exist on our primary git server. Since I can't statically list all repositories to mirror I am wondering the best way to retrieve this list and perform 'git clone --mirror' on each.
Alternatively a push method that keeps the mirror in sync would be fine too. What are others doing? I'm new to git (sys admin).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
简单来说怎么样:
How about simply: