html tool

2017年9月14日星期四

备份git仓库

参考: https://gxnotes.com/article/71372.html


最佳解决方案

创建镜像:
git clone --mirror git://github.com/user/project.git
更新:
cd project.git
git remote update
要更新而不更改当前目录:
git --git-dir project.git remote update

没有评论:

发表评论