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

Fully backup a git repo?

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

Is there a simple way to backup an entire git repo including all branches and tags?

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

Whats about just make a clone of it?

git clone --mirror other/repo.git

Every repository is a backup of its remote.