سؤال

After a particular release, any bugfixes will go into 'master' branch and after it is thoroughly reviewed and tested, it will be cherry-picked to the release branch. However I want only the release manager(..one who manages the release) to have access to cherry-pick those changes to release branch. Is there a way to achieve this?

هل كانت مفيدة؟

المحلول

Git doesn't have branch permissions, but folder permissions would let you give only the manager access to a 'release' clone of the repo. The manager pulls changes in, merges them into their release branch locally, then pushes to the release repo. You could give everyone read access from this one, so they could stay in parity with the release branch.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top