Suggestion: git submodule remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]