Created
March 22, 2018 08:32
-
-
Save thamht4190/4b40a18fc4ba1a32e8d58173150a89df to your computer and use it in GitHub Desktop.
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
| 0. mv a/submodule a/submodule_tmp | |
| 1. git submodule deinit -f -- a/submodule | |
| 2. rm -rf .git/modules/a/submodule | |
| 3. git rm -f a/submodule | |
| # Note: a/submodule (no trailing slash) | |
| # or, if you want to leave it in your working tree and have done step 0 | |
| 3. git rm --cached a/submodule | |
| 3bis mv a/submodule_tmp a/submodule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment