- 获取本地分支名
const { execSync } = require('child_process')
const branch = execSync('git rev-parse --abbrev-ref HEAD').toString().trim();
const { execSync } = require('child_process')
const branch = execSync('git rev-parse --abbrev-ref HEAD').toString().trim();
本文标题:工程化常用git操作
本文链接:https://www.haomeiwen.com/subject/uwscjrtx.html
网友评论