226 B
226 B
仓库迁移
- 从原仓库地址克隆一份裸版本库
git clone --bare https://gitee.com/oldxxx/oldxxx.git
- 原仓库所有分支同步新仓库
git push --mirro https://gitee.com/newxxx/newxxx.git
git clone --bare https://gitee.com/oldxxx/oldxxx.git
git push --mirro https://gitee.com/newxxx/newxxx.git