GitLab Documentation

After setup

After you set up the database replication and configure the GitLab Geo nodes, there are a few things to consider:

  1. Users need an extra step to be able to fetch code from the secondary and push to primary:

    1. Clone the repository as normal do from the secondary node:

       git clone git@secondary.gitlab.example.com:user/repo.git
      
    2. Change the remote push URL following this example:

       git remote set-url --push origin git@primary.gitlab.example.com:user/repo.git