Tips of Git 发表于 2018-02-27 | 分类于 工具 , Git Tips of Git delete submodule 12$ git rm the_submodule$ rm -rf .git/modules/the_submodule ignore submodule 12$ echo "sub_repo/" >> .gitignore$ git clone https://user@bitbucket.org/user/repo.git sub_repo