Well, let me just start by saying that the entire internal security premise that is unable to connect to the Internet is completely inappropriate. I should not judge without knowing all the facts, but given the fact that you ask such a basic question in StackOverflow, you are not a multinational corporation developing a new generation of rail guns and constantly undergoing a hacker attack.
Depriving developers of an Internet connection increases the level of security by about 0.01% and slows them down because they cannot research relevant materials by about 1000%. You need to start by protecting the best environment for those who are responsible for it, and somewhere the repository is located on the server. You can pay for a private github repository or deploy your own git repository on linux using gitorious or gitosis.
Regarding the real problem. Instead of clicking from your bare repository, all you do is pull in . You are on the right track with the last paragraph.
- Set up a bare repo on every site.
- Set up a bare repo on a USB drive.
- Developers make changes to the site repository.
- Set up a remote control on each of the sites.
- Pull a USB drive from each site repository.
This is a good solution in theory, but you will find that at some point you will encounter conflicts when synchronizing repositories. In this case, the developer needs to resolve these conflicts.
The best solution would be the lack of a site repository. Since the entire repository is contained in the directory, you can make as many copies of it as you want. This will also affect your concern about the "game."
If developers need to exchange codes, they can just pull each other. Then the USB stick appears and they pull / push their changes. Thus, people who create conflicts are responsible for the merger.
Let me reiterate how much this will be the burden of productivity. It is complicated enough to have one shared repository with several people involved. With a delay in manually synchronizing site synchronization, the likelihood that there is an error will not be fixed today, but the next day.
source share