Recursive Git push/pull?

后端 未结 5 1660
迷失自我
迷失自我 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:47

    I've just write a script to execute recursively on multiple git repositories. You can grab it from here:

    https://github.com/DariuszOstolski/rgit

    The idea is exactly the same as in clustergit but implementation differs.

提交回复
热议问题