no message

This commit is contained in:
hellcat 2025-04-18 19:56:20 +08:00
parent 5fc708b561
commit e3a201a71f

View File

@ -212,7 +212,7 @@ class CronController
// 添加远程仓库 // 添加远程仓库
$this->runCommand("git remote add origin \"{$this->sProjectUrl}\""); $this->runCommand("git remote add origin \"{$this->sProjectUrl}\"");
echo "操作完成:以初始化仓库\n"; echo "操作完成:以初始化仓库[$this->sProjectPath]\n";
} }
@ -250,7 +250,7 @@ class CronController
// 推送到远程主分支 // 推送到远程主分支
$this->runCommand('git push -u origin main'); // 确保将 'main' 替换为你的默认分支名称 $this->runCommand('git push -u origin main'); // 确保将 'main' 替换为你的默认分支名称
echo "操作完成:已提交并推送更改\n"; echo "操作完成:已提交并推送更改[$this->sProjectPath]\n";
} }
} }