git-q:用于 Git 的 Thin Q 承诺包装器

时间:2021-07-04 04:42:04
【文件属性】:
文件名称:git-q:用于 Git 的 Thin Q 承诺包装器
文件大小:6KB
文件格式:ZIP
更新时间:2021-07-04 04:42:04
JavaScript Q Git 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
【文件预览】:
git-q-master
----.jshintrc(280B)
----.gitignore(587B)
----package.json(812B)
----.travis.yml(158B)
----LICENSE(1KB)
----README.md(3KB)
----lib()
--------git-q.js(2KB)
----.npmignore(95B)
----test()
--------git-q.js(3KB)
----.editorconfig(372B)

网友评论