1) submodule 설정 파일에서 삭제
.gitmodules 에서 모듈 제거

2) git 캐시 삭제
git cached — rm {path to, and submodule}.

3) deinit
git submodule deinit {sub module}

4) 서브모듈 파일 설정 삭제
rm -rf ./.git/modules/{sub module}

 

5) 파일 삭제
rm -rf {path to, and submodule}.

Leave a Reply

Your email address will not be published. Required fields are marked *