Open kravemir opened 5 months ago
It doesn't handle force pushes well yet. One of the next things on my todo list. But what you can do is to enable zip
and keep
on the local backup. That creates a zip file of your repository and keeps as many backups as you configure. That way you can keep the original state of your repository.
https://cooperspencer.github.io/gickup-documentation/configuration/destination_docu/local
I am searching for a git backup tool, where I would have confidence, that:
Does gickup cover the above in any way?
One approach to solve it is to create a new branch with old contents, if default branch force pushed in source repository, and then reset copy to upstream. I.e.:
main-before-backup-[date-time]
from last backedmain
(default branch),upstream/main
todestination/main
.I don't care about specific solution, as long as history is preserved, and backup still continues to function, and doesn't break.