2021-11-01 03:28:54 +00:00
|
|
|
# 项目说明
|
|
|
|
初次clone可使用以下命令。
|
|
|
|
```bash
|
|
|
|
git clone https://xxxx/XXX-bundle.git
|
|
|
|
```
|
|
|
|
在git clone之后执行
|
|
|
|
```bash
|
|
|
|
git submodule update --init
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
```bash
|
|
|
|
git submodule foreach -q --recursive 'git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)'
|
|
|
|
```
|
|
|
|
|
|
|
|
更新所有子项目:
|
|
|
|
```
|
2021-11-06 02:11:35 +00:00
|
|
|
git submodule foreach git pull --rebase origin master
|
|
|
|
git pull --rebase origin master
|
2021-11-01 03:28:54 +00:00
|
|
|
```
|
|
|
|
|