|
|
|
|
|
by saghm
3466 days ago
|
|
> If you have a backup of your repository, you can create patches for the commits made after it, restore from backup, and replay those you want to keep. Maybe I'm just too young to have a good perspective on this (due to only becoming a developer after git was fairly well established), but I thought that version control itself is supposed to be your backup |
|
(Decentralized version control is only slightly different; if you lose the 'main' repository and don't have an exact clone (aka a backup), you may be able to glue together something from other repositories that is close to or equal to what you had, but there is no way to know for sure)