9 lines
300 B
Bash
9 lines
300 B
Bash
#!/bin/bash
|
|
|
|
# 1. 删除当前项目的.git, 否则拉取代码时会添加很多文件 (当然也可以不删除, 就要使用 git-submodule init 初始化)
|
|
rm -rf .git && \
|
|
# 2. 将代码拉取的各分层目录中
|
|
cd ./bin && ./clone.sh && \
|
|
# 切换到最新分支
|
|
./checkout.sh feature/2022.1.1
|