search

Home  >  Q&A  >  body text

javascript - Can submodules only be added one by one using git submodule add?

Like the title

Is there any ready-made script?

曾经蜡笔没有小新曾经蜡笔没有小新2738 days ago842

reply all(1)I'll reply

  • typecho

    typecho2017-06-23 09:14:20

    In fact, git submodule has its own configuration file, namely .gitmodules. Write this file directly. For specific configuration content and syntax, please refer to https://www.kernel.org/pub/so...

    Then run it in the project directory

    git submodule init
    git submodule update

    You can now get the submodule warehouse

    reply
    0
  • Cancelreply