0

I'm attempting to add several files to a git project, but getting some cryptic submodule errors.

git submodule

results in the following error:

No submodule mapping found in .gitmodules for path '.vim/bundle/ctrlsf.vim'

Where are these mappings coming from, and how can I remove them?

Originally, I of course cloned these projects from git... However, I have no need for their submodule metadata any longer.

jayunit100
  • 17,388
  • 22
  • 92
  • 167

1 Answers1

0

They are in the .gitmodules file, in the same dir as your .git file.
See How do I remove a submodule?

Community
  • 1
  • 1
David Neiss
  • 8,161
  • 2
  • 20
  • 21
  • Thanks for this response, however, there is no .gitmodules file... that's the crux of the question.. Why is git complaining when there isn't a .gitmodules setup to begin with? I assume maybe when you have nested directories and so on there might be a case where a gitmodule gets recursively propogated up somehow – jayunit100 Aug 16 '15 at 13:27
  • Did you see http://stackoverflow.com/questions/4185365/no-submodule-mapping-found-in-gitmodule-for-a-path-thats-not-a-submodule – David Neiss Aug 17 '15 at 15:52