Pushing to mirrored repo


#1

Hello,

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?

Thanks

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


#2

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