3コマンドセットで実行する git submodule deinit -f <submodule名> git rm -f <submodule名> rm -fr .git/modules/<submodule名> <スポンサーリンク>