Problem to solve
Describe your question in as much detail as possible:
Hi everyone,
I’m trying to fully understand bidirectional mirroring in GitLab. The documentation states:
“Bidirectional mirroring configures two repositories to both pull from, and push to, each other. There is no guarantee that either repository can update without errors.”
(Source: GitLab Docs - Bidirectional Mirroring)
Does this mean that both repositories (upstream and downstream) must have both pull and push mirroring enabled, resulting in four mirroring definitions in total (Push & Pull in both repos)?
Or is it enough to configure just one repository to both push and pull from the other (so only two mirroring definitions in total)?
Also, if anyone has experience with the potential errors or conflicts that can arise, I’d love to hear about best practices to avoid them!
Thanks in advance!