GitLab Documentation

Using a Geo Server

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 you would normally do, but from the secondary node:

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

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

Leave a comment below if you have any feedback on the documentation. For support and other inquires, see getting help.