git/list[1] front-page[2] threads[3] people[4] search[5] about
 

How about a `git submodule rm` command?

From
/#!/JoePea <trusktr@gmail.com>
Date
Jan 25, 2020, 07:04 UTC
Message-ID
<CAKU1PAUroy0_wa-7kBQ7vYHJB8GCK=Dm6w=8tk39r8_FWRb5rA@mail.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
Message 1 of 1 in “How about a `git submodule rm` command?”
  1. /#!/JoePeaJan 25, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.