10.3.2021

Mirroring Gitlab Repositories

We sometimes have the requirement to mirror a git repository to another location. Gitlab supports this in all tiers. Simply go to Settings -> Repository and expand the Mirror section. Enter the URL of the target git repository and choose if you want to push or pull code to or from the target repository. Gitlab also needs either an SSH key or a password to access the target repository. You can also choose to only sync protected branches. Regarding to how we work that would mean only the master branch is synced. More details can be found in the Official Documentation.

Sven

Softwareentwickler

Zur Übersicht

Standort Hannover

newcubator GmbH
Bödekerstraße 22
30161 Hannover

Standort Dortmund

newcubator GmbH
Westenhellweg 85-89
44137 Dortmund