From 0accffa2833f236b618c1867fab3d395e8895670 Mon Sep 17 00:00:00 2001 From: Duncan Luk Date: Fri, 21 Jul 2017 16:49:17 +0200 Subject: [PATCH] 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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a53b7e..c99b3f5 100644 --- a/README.md +++ b/README.md @@ -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('./*')