git-command

1.0.11 • Public • Published

Execute Git Command by Node.js

How to use it

var Git = require('git-command');
var git = new Git(YOUR_REPO_PATH);
 
// For example, git log
 
git.log().then(function(result){
  
});
 

DONE

  • git status
  • git log
  • git ls-files
  • git diff
  • git clone
  • git checkout

TODO

  • git show

Readme

Keywords

Package Sidebar

Install

npm i git-command

Weekly Downloads

11

Version

1.0.11

License

ISC

Last publish

Collaborators

  • liangshuai