git 拉取子模块 submodule
//第一步,初始化 git init //第二步,拉取,后面推荐使用ssh地址 git submodule add (+地址)
------
git submodule update --init --recursive 下拉子模块
--------------------
报错:
fatal: not a git repository (or any of the parent directories): .git
原因:没有初始化
解决:
git init

浙公网安备 33010602011771号