# Repo seems broken after deleting submodule

1 messages from 2011-10-18 to 2011-10-18. Participants: Howard Miller.
Thread: https://gitlist.dev/t/28712

## Howard Miller, 2011-10-18 11:05

Subject: Repo seems broken after deleting submodule
Message-ID: <CAHVO_90oR1xx625CTQ5s1BGrDAyvkeHciWBw7tr3-QfiP+Y+KA@mail.gmail.com>
URL: https://gitlist.dev/e/CAHVO_90oR1xx625CTQ5s1BGrDAyvkeHciWBw7tr3-QfiP%2BY%2BKA%40mail.gmail.com

```
I included a submodule in my project then decided I didn't like
submodules and deleted it again. I followed the advice of delting
.gitmodules, the bit from .git/config and then git rm'ing the
submodule. Seemed to work. I then copied files with the same directory
name into where the submodule was. However, I can't add them.

Doing git add /path/to/old/submodule - does nothing, files are not
staged, no error messages no nothing.
If I try to git rm /path/to/old/submodule - it just says 'did not
match any files'.

I'm a bit stuck... any suggestions for things I can try much appreciated.

```
