Git

如何创建本地Git镜像仓库

Posted by 比特怪兽 on August 23, 2017

1、下载代码 git clone –mirror source_repo_url

2、修改Remote git remote set-url origin local_repo_url

3、推送到Git本地服务器 git push origin