What is the fastest path to restore a git repository after a file system error on the main server?
Imagine the central server of your OSS project fails and all commi
Every repository is also a backup of the “main repository” (which is “main” by convention only) so a git push from the repository that did the most recent git fetch or git pull should be all it takes—up to its state, of course. You only need to take care of the hooks and such but if you say that only the last two days’ worth of commits were lost those were probably not harmed anyway.