Skip to content

Commit

Permalink
Merge pull request #303 from JRJurman/patch-1
Browse files Browse the repository at this point in the history
Support '--git' CLI option
  • Loading branch information
tschaub authored Jul 15, 2019
2 parents 18d4f1f + 4ca2b9e commit 2fb83f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/gh-pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function main(args) {
.option('-x, --silent', 'Do not output the repository url')
.option('-m, --message <message>', 'commit message', 'Updates')
.option('-g, --tag <tag>', 'add tag to commit')
.option('--git <git>', 'Path to git executable')
.option('-t, --dotfiles', 'Include dotfiles')
.option('-r, --repo <repo>', 'URL of the repository you are pushing to')
.option('-p, --depth <depth>', 'depth for clone', 1)
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 2fb83f5

Please sign in to comment.