git add submodule first to the submodule you want to add, git init, add remote and pushgo back to the parent folder, git submodule add ./your_submodule GITHUB 2024-01-07 46 点赞 0 评论 69 浏览