Answer the question
In order to leave comments, you need to log in
How to create a local mirror of a remote GIT repository?
In general, the following task:
There is a local GIT server (GITBLIT) in the local network.
There is a remote GIT repository (example https://github.com/mono/mono ).
I want to have a mirror copy of this repository with all branches on my local server with the ability to update from a remote repository.
As a result, it should work like this:
1. Local clients take a copy from the local server.
2. The local server does a Pull once a day and receives updates from a remote repository (a task in Cron for example)
3. Local clients do a Pull and receive updates.
Is it actually possible to implement this?
I tried adding the Remote repository, but as I understand it, this is just a link to the remote repository.
Maybe someone has a solution?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question