showing results for - "get the latest git commit sha 1 in a repository js"
Francisco
08 Jan 2017
1require('child_process').exec('git rev-parse HEAD', function(err, stdout) {
2    console.log('Last commit hash on this branch is:', stdout);
3});
4