不含stm32 底层的代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
MyStm32Code/DOC/30_git.md

819 B

git操作

新库

touch README.md git init git checkout -b main git add README.md git commit -m "first commit" git remote add origin http://140.206.38.58:8181/ESEA/server.git git push -u origin main

子模块

.gitmodules 有定义子模块 [submodule "library/esea_device"] path = library/esea_device url = https://gitlab.ms675.top/ChenJihang/device.git

在项目中添加子模块命令: git submodule add [address] git submodule add git://github.com/chneukirchen/rack.git rack

子项目一起clone下来 git clone --recursive [address] 子项目初始化: git submodule update --init --recursive 子项目更新: git submodule foreach --recursive git checkout master

git submodule foreach git pull

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