How can i repair my git-svn mirror repository?
It is set up with git svn init ...
, then github remote was added. The cron job is doing git svn rebase && git push
periodically.
Everything was fine until upstream somehow "uncommited" several revisions from svn, which already was fetched into my git-svn and pushed to github. Then upstream added some new revisions to svn trunk, reusing revision numbers of "uncommited" revisions, which broke my syncronization process.
When i realized what hppened, i did git svn reset
to last valid revision and commited reverse patch into git.
But since then, i can not pull upstream changes with git svn rebase
, i have to do git svn fetch && git merge trunk
instead, resulting in awful history.
Can i somehow tell git-svn that i will not git svn dcommit
anything, that it can forget about that reverse patch commit, so git svn rebase
can work like it worked before all this happened?