| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/nodegit/nodegit/v0.0.73/example/readme-example.js | [Back] [Original] |
var git = require( 'nodegit' );
git.repo( 'jquery/.git', function() {
console.log( 'Repo opened' );
this.branch( 'master', function() {
console.log( 'Branch opened' );
this.history().on( 'commit', function( i, commit ) {
console.log( commit.id.toString(40) );
});
});
});
| Web Proxy Viewer | New URL | Original Page |