git 拉取子模塊 submodule


//第一步,初始化
git init 

//第二步,拉取,后面推薦使用ssh地址
git submodule add (+地址)
------
git submodule updata --init --recursive    下拉子模塊

 

 

--------------------

報錯:

fatal: not a git repository (or any of the parent directories): .git

原因:沒有初始化

解決:

git init

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM