Recursive Git push/pull?

后端 未结 5 1657
迷失自我
迷失自我 2021-02-02 10:21

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?

5条回答
  •  花落未央
    2021-02-02 10:39

    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

提交回复
热议问题