gitbackup

Fully backup a git repo?


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


Solution

  • Whats about just make a clone of it?

    git clone --mirror other/repo.git
    

    Every repository is a backup of its remote.