Pushing to mirrored repo



I’m trying to set up a Gogs webserver for bidirectional mirroring with repositories located on GitHub.

My plan was to create mirrored repos on Gogs for GitHub -> Gogs synchronization, and pre/post receive hooks within the repositories to synchronize Gogs -> GitHub and handle conflicts.

I ran into issues when trying to push to one of these mirrored repos I set up, and discovered these mirrors are not configured to allow write access. I understand this is the desired outcome, but has anyone attempted to do what I’m doing and found a workaround?


**Edit: I’m running Gogs Version: w/ sqlite


Hi, by design, mirror repositories in Gogs is not allowed to push.