Created
July 9, 2013 18:46
-
-
Save tonini/5960034 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git-submodule-deinit | |
deinit | |
Unregister the given submodules, i.e. remove the whole submodule.$name section | |
from .git/config together with their work tree. Further calls to git submodule | |
update, git submodule foreach and git submodule sync will skip any unregistered | |
submodules until they are initialized again, so use this command if you don't | |
want to have a local checkout of the submodule in your work tree anymore. If | |
you really want to remove a submodule from the repository and commit that use | |
git-rm(1) instead. | |
If --force is specified, the submodule's work tree will be removed even if it | |
contains local modifications. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment