Empty Git submodule folder when repo cloned

前端 未结 1 1215
眼角桃花
眼角桃花 2021-01-29 18:19

I have one repo hosted at https://github.com/aikiframework/json . On my local copy, I added a submodule using the command

git submodule add git@github.com:jcubic         


        
1条回答
  •  萌比男神i
    2021-01-29 18:57

    OK I found it, needed to add --recursive when cloning the repo.

    So the clone command ends up as:

    git clone https://github.com/aikiframework/json.git --recursive
    

    0 讨论(0)
提交回复
热议问题