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?
某草草2017-05-02 09:45:32
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.
迷茫2017-05-02 09:45:32
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.