将Git 项目迁移到另一个仓库
1、创建旧仓库的裸克隆
git clone --bare https://github.com/exampleuser/old-repository.git
2、迁移到新仓库
cd old-repository.git git push --mirror https://github.com/exampleuser/new-repository.git
注意,我们不需要
将Git 项目迁移到另一个仓库
1、创建旧仓库的裸克隆
git clone --bare https://github.com/exampleuser/old-repository.git
2、迁移到新仓库
cd old-repository.git git push --mirror https://github.com/exampleuser/new-repository.git
注意,我们不需要
相关文章: