Deleting a submodule

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Deleting a submodule

From: Pedro Melo <hidden>
Date: 2016-06-15 22:46:23

Hi,

I couldn't find a git-submodule command to delete a submodule. What is  
the correct procedure?

I did:

  * removed the entry from .gitmodules;
  * run git submodule sync

But its still recorded somewhere.

Thanks,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo@simplicidade.org
Use XMPP!

Re: Deleting a submodule

From: Alex Riesen <hidden>
Date: 2016-06-15 22:46:23

2009/3/12 Pedro Melo [off-list ref]:
I couldn't find a git-submodule command to delete a submodule. What is the
correct procedure?

I did:

 * removed the entry from .gitmodules;
 * run git submodule sync

But its still recorded somewhere.
git rm --cached path/to/submodule
git commit -m'Submodule path/to/submodule removed'
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help