a hugo blogThoughts, notes, and things I figured out.
a hugo blogThoughts, notes, and things I figured out.

Git子模块管理

目录

克隆的项目下有easydk子模块,下载完之后会发现easydk文件夹是空的,有两种方法下载子模块

方法一:git clone –recursive

git clone --recursive https://github.com/Cambricon/CNStream

方法二:git submodule update –init

git clone https://github.com/Cambricon/CNStream
cd CNStream
git submodule update --init  --recursive

添加子模块

git submodule add https://github.com/hugo-fixit/FixIt.git themes/FixIt

更新子模块

git submodule update --remote --merge