Created
September 11, 2018 22:19
-
-
Save DAB0mB/9a33f2121c4403cd8a475e73fb51ea18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { execFile } = require('child_process') | |
execFile('git', ['log'], (err, out) => { | |
if (err) { | |
console.error(err) | |
} | |
else { | |
console.log(out) | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment