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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -