A way to restrict Git branch access?

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

    Note: Protected branches and required status checks (September 3, 2015) won't exactly allow a single branch ("[person's name]-development"), but it getting clone.

    The branch will be protected:

    • against forced pushed
    • against deletion
    • against merged changes until required status checks pass

提交回复
热议问题