【文件属性】:
文件名称:git-clone-repos:通过shell命令克隆多个git仓库
文件大小:75KB
文件格式:ZIP
更新时间:2021-04-03 09:57:34
JavaScript
git-clone-repos
通过shell命令克隆多个git仓库
安装
npm i git-clone-repos
用法
const clone = require ( 'git-clone-repos' ) ;
( async ( ) => {
await clone ( [
'git@github.com:alex-page/alexpage.com.au.git' ,
'git@github.com:alex-page/harmonograph.art.git' ,
] , './.repo/' ) ;
} ) ;
API clone(repos, destination)
回购
类型: array
git位置数组
目的地
类型: string
设置克隆存储库的目标。
有关的
git-clone
【文件预览】:
git-clone-repos-main
----.gitattributes(66B)
----.github()
--------workflows()
----test.js(502B)
----LICENSE(1KB)
----README.md(576B)
----.editorconfig(174B)
----.gitignore(23B)
----index.js(448B)
----package-lock.json(264KB)
----package.json(421B)