const { execSync } = require('child_process'); // 合并测试分支到主分支 try { execSync('git merge test master', { stdio: 'inherit' }); } catch (error) {}