1. 首页
  2. 考试认证
  3. 其它
  4. Git QGit的Thin Q承诺包装器

Git QGit的Thin Q承诺包装器

上传者: 2024-12-10 07:49:26上传 ZIP文件 6.5KB 热度 9次

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();

下载地址
用户评论