git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Suggestion: git submodule remove
@ 2015-04-10 11:33 Konrád Lőrinczi
  2015-04-11 12:15 ` Jens Lehmann
  0 siblings, 1 reply; 2+ messages in thread
From: Konrád Lőrinczi @ 2015-04-10 11:33 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-11 12:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-10 11:33 Suggestion: git submodule remove Konrád Lőrinczi
2015-04-11 12:15 ` Jens Lehmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).