![](/img/trans.png)
[英]Change the remote of all git repositories on a system from http to ssh
[英]Is there a way to git clone multiple .git repositories at one shot, all exisiting in same folder in remote machine?
我有一台git机器,其中有一个文件夹:git:/ opt / git / third_party>在third_party内部,有多个.git仓库。
我希望一次性将所有.git克隆到third_party中:
类似于:git clone kingsmasher1 @ git:/ opt / git / third_party / *。git
可能吗?
替代方法
您可以使用mr工具。 使用mr
可以指定一个文件,在其中列出所有存储库。 通过mr checkout
您将克隆所有已配置的存储库,并通过mr update
更新所有这些库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.