LEIZIYE - 整个Git代码库迁移到新仓库 的评论
type: channel
link: https://www.leiziye.com/development/git_migrate.html
description: 1. 克隆旧仓库的镜像git clone --mirror <旧仓库URL> # 创建裸仓库，包含所有分支、标签和历史cd <仓库目录>.git # 进入克隆的裸仓库...