0

Even though this issue was addressed in other posts, I could not find an answer that worked for me.

My Problem: I manually made changes to my .gitmodules file, both adding and removing modules. I would like to my submodules folder to represent those changes.

Approach:

rm -rf submodules/
mkdir submodules/
git submodule update --init --recursive

This seems to do nothing.

I also tried the same with git pull --recurse-submodules and git submodule update --recursive --remote. Still nothing.

Is there a cache entry I have to delete in .git/?

I don't want to use git add xyz manually over and over, pls!

User12547645
  • 4,665
  • 2
  • 29
  • 51

0 Answers0