Skip to content

Commit 0accffa

Browse files
d-lukstephenlacy
authored andcommitted
Added git.add({ cwd: '/cwd/path' }) option to ReadMe (#169)
I could not find this option in the docs but it seems to be working
1 parent 0d49cbf commit 0accffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ git.clone('https://remote.git', {args: './sub/folder'}, function (err) {
352352

353353
Adds files to repo
354354

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

357357
```js
358358
gulp.src('./*')

0 commit comments

Comments
 (0)