提交 690f0eb2 authored 作者: yoyoyo's avatar yoyoyo

1

上级 d7203622
...@@ -139,6 +139,10 @@ set_branches(){ ...@@ -139,6 +139,10 @@ set_branches(){
# 函数:拉取项目代码 # 函数:拉取项目代码
pull_project() { pull_project() {
if [ -d "$project_dir/.git" ]; then
echo_content "green" "$runprojects 安装项目存在 直接跳过到下一步..."
return
if
echo_content "green" "$runprojects 项目本地未安装,开始拉取..." echo_content "green" "$runprojects 项目本地未安装,开始拉取..."
# 检查凭据是否存在 # 检查凭据是否存在
if [ -f "$CREDENTIALS_FILE" ]; then if [ -f "$CREDENTIALS_FILE" ]; then
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论