Created
March 23, 2014 06:40
-
-
Save raimon49/9719585 to your computer and use it in GitHub Desktop.
checkoutしてる側で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
# [submodule "module-name"] から対象のリポジトリエントリを削除 | |
$ vim .git/config | |
# それまでcheckoutしていたリポジトリを削除 | |
$ cd .git/modules | |
$ rm -rf module-name | |
# Dマークが付くが、無視して再度submoduleを初期化 | |
$ git submodule update --init |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment