{"thread":{"id":"28712","subject":"Repo seems broken after deleting submodule","startedAt":"2011-10-18T11:05:18Z","lastAt":"2011-10-18T11:05:18Z","messageCount":1,"participants":["Howard Miller"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"177944","messageId":"CAHVO_90oR1xx625CTQ5s1BGrDAyvkeHciWBw7tr3-QfiP+Y+KA@mail.gmail.com","threadId":"28712","inReplyTo":null,"subject":"Repo seems broken after deleting submodule","fromName":"Howard Miller","fromEmail":"howardsmiller@gmail.com","sentAt":"2011-10-18T11:05:18Z","receivedAt":"2011-10-18T11:05:18Z","isPatch":false,"sender":{"key":"howardsmiller@gmail.com","avatar":"https://gravatar.com/avatar/e9a35d459ceb60f2244761bcc3d3bedfda40fa40dadbe8d440c6153d97eef6e2?d=mp&s=160"},"body":"I included a submodule in my project then decided I didn't like\nsubmodules and deleted it again. I followed the advice of delting\n.gitmodules, the bit from .git/config and then git rm'ing the\nsubmodule. Seemed to work. I then copied files with the same directory\nname into where the submodule was. However, I can't add them.\n\nDoing git add /path/to/old/submodule - does nothing, files are not\nstaged, no error messages no nothing.\nIf I try to git rm /path/to/old/submodule - it just says 'did not\nmatch any files'.\n\nI'm a bit stuck... any suggestions for things I can try much appreciated.\n"}]}