Can I enforce a merge-only branch in git?

前端 未结 4 2162
攒了一身酷
攒了一身酷 2021-01-01 15:11

I\'m using git, and I\'m setting up the following branches to support my workflow:

  • release, which only contains released software,
  • testing, which cont
4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-01 16:06

    You should be able to enforce this by using some of the git hooks.

提交回复
热议问题