git add submodule

  1. first to the submodule you want to add, git init, add remote and push
  2. go back to the parent folder, git submodule add ./your_submodule

你可能感兴趣的:(GITHUB,git)