【文件属性】:
文件名称:git-command-line:带有承诺的命令行 git 的包装器
文件大小:11KB
文件格式:ZIP
更新时间:2021-06-10 17:36:52
JavaScript
========
git-命令行
带有承诺的命令行 git 的包装器
如何使用它
Git-command-line 是命令行 Git 的包装器,所以你必须在你的 linux/mac 机器上安装 git(它还没有在 windows 中测试过)。
常见的语法是:
var GitCommandLine = require ( 'git-command-line' ) ;
var Git = new GitCommandLine ( '/tmp/gitTemp' ) ;
//You can also create it only with GitCommandLine() and set the working path later
Git . [ git command ] ( [ string parameters ] , [ options ] )
. then ( functio
【文件预览】:
git-command-line-master
----.travis.yml(223B)
----index.js(10KB)
----package.json(1KB)
----test()
--------test.js(10KB)
----LICENSE(1KB)
----Gruntfile.js(2KB)
----.gitignore(601B)
----README.md(10KB)
----coverage()
--------lcov.info(3KB)