notes/GIT/仓库迁移.md

13 lines
226 B
Markdown
Raw Permalink Normal View History

2024-04-29 22:22:30 +08:00
### 仓库迁移
2023-11-13 22:37:27 +08:00
* 从原仓库地址克隆一份裸版本库
```
git clone --bare https://gitee.com/oldxxx/oldxxx.git
```
* 原仓库所有分支同步新仓库
```
git push --mirro https://gitee.com/newxxx/newxxx.git
```