子模块用法 添加 git submodule add <url> [path] 删除 亦或切换远程库地址 rm -rf <path> vi .gitmodules vi .git/config rm .git/modules/* git add . git rm --cached <path>