[git]git submodule addでエラー「A git directory for ‘[指定モジュール]‘ is found locally with remote(s):」 はじめに [git submodule add]コマンドを実行したときにエラー「A git directory for ‘[指定モジュール]‘ is found locally with remote(s):」が出たので解決案をメモします。 エラー発生から解決まで こちら環境ではvolleyというandroidの通信ライブラリを導入時にエラーがでました。 フローとしては、最初の一回目のsubmodule化ではエラーにはなりません。一度入れたsubmoduleを削除するときに、[rm -rf]で単に削除し、再度[git submodule add]を行おうとするとエラーになります。 [git submodul