Warm tip: This article is reproduced from serverfault.com, please click

其他-完全备份git repo?

(其他 - Fully backup a git repo?)

发布于 2011-04-07 08:39:57

有没有简单的方法来备份包括所有分支和标签的整个git repo?

Questioner
Daniel Upton
Viewed
0
7,983 2018-10-03 22:10:00

克隆它怎么办?

git clone --mirror other/repo.git

每个存储库都是其远程服务器的备份。