摘要: var cwd = '"' + process.cwd() + '"';// 获取git版本var fs = require("fs")var gitHEAD = fs.readFileSync('.git/HEAD', 'utf-8').trim() // ref: refs/heads/deve 阅读全文
posted @ 2018-07-04 10:07 大耳朵小虎 阅读(107) 评论(0) 推荐(0) 编辑