同一个项目不同的功能在不同的仓库中,每次新人或者交接都要进行N多次 gitclone的操作
脚本
git.txt 中准备 仓库的名字,且 git.txt 跟 脚本在同一目录下 ps:利用循环进行git clone 就不需要每次手动的输入
# clone_all.bat@echo offecho '批量clone,请注意操作机上需安装git且git有全局环境'echo start git clonepausefor /f %%i in (git.txt) do git clone https://gitee.com/haoli_mall/%%i.gitecho 'git clone 完成!'pause


