{"thread":{"id":"14435","subject":"Q: how to remove or move submodules?","startedAt":"2008-07-13T06:38:51Z","lastAt":"2008-07-22T23:22:40Z","messageCount":2,"participants":["Rob Sanheim","Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"83128","messageId":"fc113d400807122338o637cc159n5e19fea5a15dc866@mail.gmail.com","threadId":"14435","inReplyTo":null,"subject":"Q: how to remove or move submodules?","fromName":"Rob Sanheim","fromEmail":"rsanheim@gmail.com","sentAt":"2008-07-13T06:38:51Z","receivedAt":"2008-07-13T06:38:51Z","isPatch":false,"sender":{"key":"rsanheim@gmail.com","avatar":"https://gravatar.com/avatar/d0241c8c582bf684cf1124f30a6024ae599a33e213bbd1f79d23727a212c8f48?d=mp&s=160"},"body":"Hello\n\nI don't see any info on what the 'right' way is to delete or move\nsubmodules around in any of the docs.  Normally I end up just hacking\nmy way through it and hand modifying the .gitmodules file, but this\nseems wrong.  Is there a recommended way?\n\nthanks,\nRob\n"},{"id":"84398","messageId":"20080722232240.GL32184@machine.or.cz","threadId":"14435","inReplyTo":"fc113d400807122338o637cc159n5e19fea5a15dc866@mail.gmail.com","subject":"Re: Q: how to remove or move submodules?","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2008-07-22T23:22:40Z","receivedAt":"2008-07-22T23:22:40Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"  Hi,\n\nOn Sun, Jul 13, 2008 at 02:38:51AM -0400, Rob Sanheim wrote:\n> I don't see any info on what the 'right' way is to delete or move\n> submodules around in any of the docs.  Normally I end up just hacking\n> my way through it and hand modifying the .gitmodules file, but this\n> seems wrong.  Is there a recommended way?\n\n  currently, you have to hand-modify the .gitmodules file, then remove\nthe directory from the working tree and then from the index. In part\ninspired by your question, I have submitted patches to add git mv and\ngit rm support for submodules some time ago, but they probably won't\nmake it to 1.6.0.\n\n\t\t\t\tPetr \"Pasky\" Baudis\n"}]}