Empty Git submodule folder when repo cloned
问题 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/json-rpc.git json-rpc Then I did a commit and push, and the changes appear on GitHub (I can click on it). But when I clone the repo git clone https://github.com/aikiframework/json.git the submodule folder json-rpc is empty. What am I missing here? Did I forget about something? Why is that folder empty? 回答1: OK I found it, needed to