×

Sign in with twitter.

You can follow the user and hashtags.

Share your tips on social media.

Post relative tips.

If you have relative tips, click [Add relative tips] to post.

gitでsubmoduleを移動する方法

@ktanaka@ktanaka 2762 viewer 49 embed viewer embed
http://stackoverflow.com/questions/4323558/moving-submodules-with-git

.gitmodules に記述されたディレクトリを修正し、以下のような手順で実行します

vi .gitmodules
git add .gitmodules
mv -vi old/parent/submodule new/parent/submodule
git rm --cached old/parent/submodule
git add new/parent/submodule
git commit

#git

Click this to change format.

Add relative tips

Users who share this tip.

comeonly

Comments