Differences
This shows you the differences between two versions of the page.
docs:git:submodules [2010/09/29 10:28] – created billh | docs:git:submodules [2011/07/21 11:53] (current) – billh | ||
---|---|---|---|
Line 16: | Line 16: | ||
(checks out the submodule) | (checks out the submodule) | ||
</ | </ | ||
+ | |||
+ | ===== removing a submodule ===== | ||
+ | - Delete the relevant line from the .gitmodules file. | ||
+ | - Delete the relevant section from .git/ | ||
+ | - Run git rm --cached path_to_submodule (no trailing slash). | ||
+ | - Commit and delete the now untracked submodule files. | ||
+ | |||
+ | Source: http:// | ||
===== cloning a project that has submodules ===== | ===== cloning a project that has submodules ===== |