Git QGit的Thin Q承诺包装器
Q Git的Thin Q承诺包装器。关于基于的基于Promise的包装器,为Git提供异步接口。该项目背后的动机是为Git创建一个承诺包装器,以便在编写部署脚本时使用。
安装用做:npm install git-q --save
用法:
var GitQ = require('git-q'),
gitQ = new GitQ();
gitQ.setUserInfo()
.writeGitCredentials()
.setRemoteUrl('https://...')
.fetch(true)
.tag({ a: '1.0.1', m: 'Commit message associated with tag' })
.pushTags()
.cat();
下载地址
用户评论