git add で fatal: Pathspec '/moge/hoge' is in submodule が出た時の対応 - Qiita

現象 gitのリポジトリにディレクトリごと何かを追加した際に、ディレクトリがfileとして認識されてしまっていることがある。 $git status On branch test_branch Changes to be committed: (use "git re...