A way to restrict Git branch access?

后端 未结 9 602
天命终不由人
天命终不由人 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:06

    Not practically. Git branches aren't really distinct from one another in the way that you're probably thinking they are.

    What you probably want to do here is use a separate repository for each user's development branch.

提交回复
热议问题