Reputation: 5532
I have a project that has a number of submodules and I am trying to make them act as normal folder and not repos. I have deleted the .git/
folder in each of them,but they still act like submodules and when I run a git status
they do not seem to show up as untracked files.
Upvotes: 7
Views: 7996
Reputation: 739
The submodule needs to be removed using git rm
(this'll remove the submodule's files from your file system). You can then clone the submodule's repository into your repo (using git clone
), remove the .git directory in the "submodule"'s directory, and git add
!
Upvotes: 4