Add option to overwrite diverged branches when pull mirroring
When using pull mirroring for CI/CD-only workflows, a rebase or force push on a feature branch will prevent further CI/CD tests being run on that branch because it will diverge from the branch mirrored to GitLab. We should add an option to GitLab to always overwrite the version in GitLab if the upstream branch diverges.
Proposal
- Add an option to pull mirroring
Overwrite diverged branches
- Automatically enable this option for CI/CD only projects