From 4ca2b9ea1978ade9e21e5d3cd5e123cc7d9fbaa7 Mon Sep 17 00:00:00 2001 From: Jesse Jurman Date: Fri, 28 Jun 2019 10:25:46 -0400 Subject: [PATCH] support '--git' CLI option --- bin/gh-pages.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/gh-pages.js b/bin/gh-pages.js index 94ba5bc3..c2b9e84b 100755 --- a/bin/gh-pages.js +++ b/bin/gh-pages.js @@ -42,6 +42,7 @@ function main(args) { .option('-x, --silent', 'Do not output the repository url') .option('-m, --message ', 'commit message', 'Updates') .option('-g, --tag ', 'add tag to commit') + .option('--git ', 'Path to git executable') .option('-t, --dotfiles', 'Include dotfiles') .option('-r, --repo ', 'URL of the repository you are pushing to') .option('-p, --depth ', 'depth for clone', 1) @@ -79,6 +80,7 @@ function main(args) { dest: program.dest, message: program.message, tag: program.tag, + git: program.git, dotfiles: !!program.dotfiles, add: !!program.add, only: program.remove,