git clone --mirror https://旧地址/xxx.git
cd xxx.git
git remote set-url --push origin https://新地址/xxx.git
git push --mirror
git远程地址切换(把分支也带过去)
于 2023-02-13 11:13:42 首次发布
git clone --mirror https://旧地址/xxx.git
cd xxx.git
git remote set-url --push origin https://新地址/xxx.git
git push --mirror