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

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

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -