Team collaboration - Ask a question about using git as a team development
ringa_lee
ringa_lee 2017-05-02 09:46:55
0
4
578

Current situation:

  • has multiple branches, including a mainline branch master, which is mainly used for release

  • Other branches are their respective local development branches, which can be named here, for example: test1, test2, test...

Question:

  • All members can modify and merge any branch to the mainline branch master (you can even delete master directly)

Final result you want to achieve:

  • Can you set permissions for the mainline branch master to allow only specific users to modify, synchronize, and merge other branches

ringa_lee
ringa_lee

ringa_lee

reply all(4)
阿神

Check out this tutorial lab

迷茫

Yes, you can set different permissions for different branches

Peter_Zhu

In gitlab, set master as a protected branch and not allow developers to push. In github, there is also a protected branch function under Settings->Branches.

習慣沉默

Doesn’t gitlab have this protection function?

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