【download-git-repo报错Error: ‘git clone‘ failed with status 128】

download-git-repo报错Error: ‘git clone‘ failed with status 128

使用download-git-repo克隆github上面的仓库,提示错误 ‘git clone‘ failed with status 128

downloading template ...✖ Error: 'git clone' failed with status 128
✖ downloading template ...
(node:45782) UnhandledPromiseRejectionWarning: Error: 'git clone' failed with status 128

解决方案:
使用如下克隆方式:

download-git-repo(direct:git地址#分支)  

注意:分支名称必须填写。

你可能感兴趣的:(git,github)