Skip to content

Commit

Permalink
Added git.add({ cwd: '/cwd/path' }) option to ReadMe (#169)
Browse files Browse the repository at this point in the history
I could not find this option in the docs but it seems to be working
  • Loading branch information
d-luk authored and stephenlacy committed Jul 21, 2017
1 parent 0d49cbf commit 0accffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ git.clone('https://remote.git', {args: './sub/folder'}, function (err) {

Adds files to repo

`opt`: Object (optional) `{args: 'options', quiet: true, maxBuffer: 200 * 1024}`
`opt`: Object (optional) `{args: 'options', cwd: '/cwd/path', quiet: true, maxBuffer: 200 * 1024}`

```js
gulp.src('./*')
Expand Down

0 comments on commit 0accffa

Please sign in to comment.