@echo off
cd wdjy
setlocal enabledelayedexpansion
for %%N in (项目1,项目2,项目3) do (
git clone --mirror https://e.coding.net/iwdjy/%%N.git
cd %%N.git
git remote set-url --push origin git@gitlab_root:root/%%N.git
git push --mirror
cd ../
)
pause
网友评论