wujingjing
2024-12-03 3c9dca4d6d09dbf29db217c0e4dcc91e3ef5a13d
1
2
3
4
5
6
const { execSync } = require('child_process');
 
// 合并测试分支到主分支
try {
    execSync('git merge test master', { stdio: 'inherit' });
} catch (error) {}