Is Rsyncing git repo good enough backup solution?

后端 未结 3 599
太阳男子
太阳男子 2020-12-29 14:04

I often backup my laptop to an external hard drive. Is rsyncing git repos over good enough backup solution or are there any problems with this method?

3条回答
  •  执念已碎
    2020-12-29 14:50

    I have a repo I keep on hosting that I push to. If I want to work somewhere I clone it, push changes back when I'm done.

    You could rsync it too, but I found it easier to clone a repo out and then use it as my main dev spot. I think using one tool might be easier, but your mileage may vary.

提交回复
热议问题