# How about a `git submodule rm` command?

1 messages from 2020-01-25 to 2020-01-25. Participants: /#!/JoePea.
Thread: https://gitlist.dev/t/52694

## /#!/JoePea, 2020-01-25 07:04

Subject: How about a `git submodule rm` command?
Message-ID: <CAKU1PAUroy0_wa-7kBQ7vYHJB8GCK=Dm6w=8tk39r8_FWRb5rA@mail.gmail.com>
URL: https://gitlist.dev/e/CAKU1PAUroy0_wa-7kBQ7vYHJB8GCK%3DDm6w%3D8tk39r8_FWRb5rA%40mail.gmail.com

```
I stumbled on this: https://gist.github.com/myusuf3/7f645819ded92bda6677

It describes how to delete a submodule. Still, even `git rm
<submodule>` leaves stuff behind.

How about a `git submodule rm` command (or similar) that *removes
everything* and stages it? It would be the complete opposite of `git
submodule add`.

#!/JoePea

```
