递归Git推/拉? [英] Recursive Git push/pull?
本文介绍了递归Git推/拉?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个包含其他git存储库的git存储库。是否有递归地推送和/或拉取元存储库或子存储库的命令?
解决方案
如果你正在讨论子模块,请参阅纸杯蛋糕答案。
如果您正在讨论包含git repos的某些文件夹层次结构,则可以签出 clustergit
,我编程的工具: https://github.com/mnagel/clustergit
I have a git repository that contains other git repositories. Are there commands that recursively push and/or pull for not only the meta-repository but the sub-repositories?
解决方案
if you are talking about submodules, see cupcakes answer.
if you are talking about some folder hierarchy containing git repos, you can checkout clustergit
, a tool i programmed: https://github.com/mnagel/clustergit
这篇关于递归Git推/拉?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文