Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: git submodule delete?

From: Thomas Hager <hidden>
Date: 2016-06-15 22:53:48

Quoting "Rich Pixley" [off-list ref]:
How do I remove a submodule?
got to your superproject and:

- delete the submodules's section in .gitmodules and .git/config
- run "git rm --cached path_to_submodule"
- commit the superproject
- remove the submodule files.
- remove .git/modules/your_submodule

hth,
tom.

-- 
Thomas "Duke" Hager                               duke@sigsegv.at
GPG: 2048R/791C5EB1            http://www.sigsegv.at/gpg/duke.gpg
=================================================================
"Never Underestimate the Power of Stupid People in Large Groups."
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help