the git clone is empty? why this happens

后端 未结 4 1560
自闭症患者
自闭症患者 2021-02-01 16:36

This always perplexes me. I was cloning this

git clone https://android.googlesource.com/kernel/msm.git

And It seemed to be cloning resolving

4条回答
  •  佛祖请我去吃肉
    2021-02-01 17:22

    After your first clone, if you have directories that are submodules of the parent repo, you need to initialize them with:

    git submodule update --init
    

    Using git submodule update --init --recursive will also be needed if there are submodules inside submodules.

提交回复
热议问题