DEV Community

Discussion on: How to migrate all your Git repositores to a new computer?

Collapse
 
douglaslise profile image
Douglas Lise

Good point. Rsync could be an option, but this script can help when you don't have a good connection with your old computer, or even when you do not know how to rsync them. Another use case is to backup the list of all your repositories. I do not backup them, but I regularly run this script and I store just the clone-all.sh file, so in the case I lost my old computer it will be easy to setup them in a new one.
But yes, rsync could be a great option too.