GIT hook to prevent an experimental branch pushed to a release, or master branch
问题 We have three main branches in our workflow. TEST (experimental), RELEASE (features going to next release), and MASTER (released only) We take feature branches from RELEASE, merge feature branches first to TEST and if they are ok, merge those approved feature branches to RELEASE. My problem is: as TEST branch contains some commits/features that we will not be releasing ever, we don't want it to merged into RELEASE or MASTER by mistake (or intentionally). I read somewhere that it is not