Automate mirroring configuration


I’m aware it’s possible to create mirroring in each repository settings.
Currently, i have ton of repository and want to migrate from one gitlab to another.
It seems mirroring it’s the best choice for me face to own development and migration workflow.

How can i automate/script mirroring configuration for all gitlab repositories without GUI ?

have a nice day,


Using API Project remote mirrors API | GitLab

In case you can lift-and-shift the repositories you can also do Export/Import.

1 Like

oh my bad yes i will. thanks for you response