A way to restrict Git branch access?

后端 未结 9 593
天命终不由人
天命终不由人 2020-11-27 16:34

I have four branches in my git repository, which is managed using GitHub:

  • Production
  • Staging
  • Master
  • [person\'s name]-development
9条回答
  •  星月不相逢
    2020-11-27 17:02

    You might want to check out GitLab and its "protected branch" feature. I think it's pretty much exactly what you are looking for. See Keeping your code protected.

提交回复
热议问题