Suggestion: git submodule remove
- From
- Konrád Lőrinczi <klorinczi@gmail.com>
- Date
- Apr 10, 2015, 11:33 UTC
- Message-ID
- <CABEDGg8Gos8UTi2U_xgMpx2dJtbtSNCCd2gRr_KR1qESB6gYYA@mail.gmail.com>
Hi GIT devs,
I really miss the git submodule remove command.
This should be handle all the tasks what are needed to remove a submodule.
- Delete the relevant line from the .gitmodules file.
- Delete the relevant section from .git/config.
- Run git rm --cached path_to_submodule (no trailing slash).
- Delete the now untracked submodule files.These tasks should be handled automatically. Currently you can only remove a submodule manually, no way to do it automatically with one command. "Removing submodules" and "unsubmodule a submodule" are still a pain to do in GIT, even in v2.3.5.
Please consider implementing the "git submodule remove" command.
Thanks, Konrad Lorinczi