web - git管理员怎么管理中央仓库?
世界只因有你
世界只因有你 2017-05-02 09:43:32
0
4
569

最近要搭一个git服务器,网上查看很多资料,建议我在服务器上搭建裸仓库,而裸仓库是不能操作的。
现在要打造一个gitflow,在这里会有几条分支,git管理员需要在某个时刻把开发者的提交合并到指定分支。
那么问题来了,作为git管理员,我应该怎么操作这个仓库?
我内心有一个方案:在该服务器上面的某个路径clone出来一个仓库,然后在这个仓库里进行操作,操作完再push到中央仓库。这样应该是可行的。
但我也想知道,业界一般是怎么做的?或者说,我这种方法是不是存在缺陷?

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

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!