gulp-git. Clone remote repo from bitbucket -


i want clone repo bitbucket using gulp. gulp task:

gulp.task('clonesub', function () { git.clone('https://username@bitbucket.org/xxxxx/xxxxx.git', {cwd: './gitrepo/'}, function (err) {     if(err) {         throw err;     } })}); 

result:

[11:49:25] starting 'clonesub'...

[11:49:37] finished 'clonesub' after 12 s

and further, nothing happens

in /gitrepo created empty folder name of project

project in bitbucket private.

i can not clone private repository in way?

need send password in https query

https://username:password@bitbucket.org/xxxxx/xxxxx.git 

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -