{"thread":{"id":"39044","subject":"Suggestion: git submodule remove","startedAt":"2015-04-10T11:33:12Z","lastAt":"2015-04-11T12:15:41Z","messageCount":2,"participants":["Konrád Lőrinczi","Jens Lehmann"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"259222","messageId":"CABEDGg8Gos8UTi2U_xgMpx2dJtbtSNCCd2gRr_KR1qESB6gYYA@mail.gmail.com","threadId":"39044","inReplyTo":null,"subject":"Suggestion: git submodule remove","fromName":"Konrád Lőrinczi","fromEmail":"klorinczi@gmail.com","sentAt":"2015-04-10T11:33:12Z","receivedAt":"2015-04-10T11:33:12Z","isPatch":false,"sender":{"key":"klorinczi@gmail.com","avatar":null},"body":"Hi GIT devs,\n\nI really miss the\n  git submodule remove\ncommand.\n\nThis should be handle all the tasks what are needed to remove a submodule.\n    - Delete the relevant line from the .gitmodules file.\n    - Delete the relevant section from .git/config.\n    - Run git rm --cached path_to_submodule (no trailing slash).\n    - Delete the now untracked submodule files.\n\nThese tasks should be handled automatically.\nCurrently you can only remove a submodule manually, no way to do it\nautomatically with one command.\n\"Removing submodules\" and \"unsubmodule a submodule\" are still a pain\nto do in GIT, even in v2.3.5.\n\n\nPlease consider implementing the \"git submodule remove\" command.\n\n\nThanks,\nKonrad Lorinczi\n"},{"id":"259235","messageId":"5529106D.7050301@web.de","threadId":"39044","inReplyTo":"CABEDGg8Gos8UTi2U_xgMpx2dJtbtSNCCd2gRr_KR1qESB6gYYA@mail.gmail.com","subject":"Re: Suggestion: git submodule remove","fromName":"Jens Lehmann","fromEmail":"jens.lehmann@web.de","sentAt":"2015-04-11T12:15:41Z","receivedAt":"2015-04-11T12:15:41Z","isPatch":false,"sender":{"key":"jens.lehmann@web.de","avatar":"https://avatars.githubusercontent.com/u/135220?v=4"},"body":"Am 10.04.2015 um 13:33 schrieb Konrád Lőrinczi:\n> I really miss the\n>    git submodule remove\n> command.\n>\n> This should be handle all the tasks what are needed to remove a submodule.\n>      - Delete the relevant line from the .gitmodules file.\n>      - Delete the relevant section from .git/config.\n>      - Run git rm --cached path_to_submodule (no trailing slash).\n>      - Delete the now untracked submodule files.\n>\n> These tasks should be handled automatically.\n> Currently you can only remove a submodule manually, no way to do it\n> automatically with one command.\n> \"Removing submodules\" and \"unsubmodule a submodule\" are still a pain\n> to do in GIT, even in v2.3.5.\n\n\"git rm <submodule-path>\" will remove a submodule from .gitmodules,\nthe index and the work tree (but not from .git/config, that's what\n\"git submodule deinit\" is for).\n"}]}