web - How does the git administrator manage the central repository?
世界只因有你
世界只因有你 2017-05-02 09:43:32
0
4
649

I need to set up a git server recently. I checked a lot of information online and it was suggested that I build a bare warehouse on the server, but the bare warehouse cannot be operated.
Now we need to create a gitflow, where there will be several branches. The git administrator needs to merge the developer's submissions to the specified branch at a certain moment.
Then the question is, as a git administrator, how should I operate this warehouse?
I have a plan in mind: clone a warehouse at a certain path on the server, then perform operations in this warehouse, and then push to the central warehouse after the operation. This should be possible.
But I also want to know, how does the industry generally do it? Or is there a flaw in my approach?

世界只因有你
世界只因有你

reply all(4)
世界只因有你

You need gitlab

某草草

There is no such model in the industry, because Git is not SVN, has no central warehouse, and does not control user permissions.
To put it bluntly, it depends entirely on the user's conscious and reasonable use, rather than the so-called administrator control.

我想大声告诉你

Continue upstairs, you need gitlib

迷茫

The workflow of gitlab refers to http://www.ruanyifeng.com/blo..., the merge request is operated on the h5 page. It’s up to you to decide whether you want to copy the workflow completely.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template