Abheek Dhawan
4 years ago
4 changed files with 70 additions and 1633 deletions
@ -0,0 +1,14 @@ |
|||
const gitlog = require("gitlog").default; |
|||
|
|||
let parentFolder = __dirname.split("/"); |
|||
parentFolder.pop(); |
|||
parentFolder = parentFolder.join("/"); |
|||
console.log(parentFolder); |
|||
|
|||
const commits = gitlog({ |
|||
repo: __dirname, |
|||
number: 20, |
|||
fields: ["hash", "abbrevHash", "subject", "authorName", "authorDateRel"], |
|||
}); |
|||
|
|||
//console.log(commits);
|
File diff suppressed because it is too large
Loading…
Reference in new issue