DEV Community

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

Collapse
 
jorodrig profile image
jorodrig

This is very good and useful; however, I found a work around.
On my new Mac, I restored my files via Time Machine backup and all my Git repositories were where they were on the old macbook. The problem was I could no longer PUSH to my Git repo as the id_rsa key was different. I simply followed the GIT instructions to generate new id_rsa key for the new macbook and everything worked fine. I could now simply continue where I left off on the old mac on my new mac.
docs.github.com/en/github/authenti...

Not a pro at this but it worked for me.