how to update mirrored remote repository(own server) when someone has pushed to the main remote repostiory(gitlab)?

56 views Asked by At

I have the main remote Gitlab repository(A) and clone mirrored to another remote server(B), I would like to know how to update the (B)remote server when someone pushed to the main Gitlab repository(A).

1

There are 1 answers

0
VonC On BEST ANSWER

You can try a pull mirroring, as described here:

Repository mirroring allows for mirroring of repositories to and from external sources. It can be used to mirror branches, tags, and commits between repositories.

It was introduced in GitLab 10.3 for January 2018.