Created
November 5, 2017 04:51
-
-
Save zzarcon/8d9db41ba71298fbfbf6e2ffb4de5d6b to your computer and use it in GitHub Desktop.
This file contains 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 {promisify} = require('util'); | |
const exec = promisify(require('child_process').exec); | |
exec('git diff --name-only origin/master').then(({stdout}) => console.log(stdout)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment