Created
April 11, 2012 17:46
-
-
Save anointed/2360864 to your computer and use it in GitHub Desktop.
remove a git submodule
This file contains hidden or 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
| To remove a submodule you need to: | |
| Delete the relevant line from the .gitmodules file. | |
| Delete the relevant section from .git/config. | |
| Run git rm --cached path_to_submodule (no trailing slash). | |
| Commit and delete the now untracked submodule files. | |
| http://stackoverflow.com/questions/1260748/how-do-i-remove-a-git-submodule/1260982#1260982 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment