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
Post a Comment