//第一步,初始化
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

 

相关文章:

  • 2022-12-23
  • 2021-11-03
  • 2021-07-29
猜你喜欢
  • 2022-12-23
  • 2021-08-20
  • 2019-08-15
  • 2022-02-02
  • 2022-12-23
  • 2021-11-10
  • 2021-06-17
相关资源
相似解决方案