forgot to use

I cloned a git repo from github which has submodules in it. I forgot to use the --recursive option while cloning. Is there a way to pull submodules now?


How to `git clone` including submodules? has an answer to this question. Just do:

cd my-just-cloned-repo
git submodule update --init --recursive

and that should fetch your submodules for you.

链接地址: http://www.djcxy.com/p/92408.html

上一篇: 'git submodule init'有什么意义?

下一篇: 忘记使用