- Delete the relevant section from the
.gitmodules
file. - Delete the relevant section from
.git/config
. - Run
git rm --cached path_to_submodule
(no trailing slash). - Delete the relevent folder in .git/modules.
- Delete the now untracked submodule files.
删除git的submodule
猜你喜欢
转载自qlqllu.iteye.com/blog/1773603
今日推荐
周排行