This commit is contained in:
Peter Maquiran
2022-12-21 16:19:06 +01:00
parent a1c5856089
commit 7168788b3c
5 changed files with 211 additions and 368 deletions
+3
View File
@@ -0,0 +1,3 @@
require('child_process').exec('git rev-parse HEAD', function(err, stdout) {
console.log('Last commit hash on this branch is:', stdout);
});