Created
December 17, 2018 23:55
-
-
Save akovardin/53c1e9a251f8501e927d1897d81f54a0 to your computer and use it in GitHub Desktop.
[Git] #git
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