0

I'm trying to workout a workflow where changes need to be approved before they can be merged into the master branch.

One obvious solution is reject/approve pull requests. But the problem we have is that we don't want employees maintaining their own repos of the company code. Therefore, we have a company account/repo that everyone pushes to. Is there a way we can give users their own copy of the code under their account, but revoke access once they leave the company, so we can use pull requests effectively?

What are my other options around restricting commits to the branch.

We use bitbucket.

4

1 に答える 1

1

従業員に会社のレポへのアクセスを許可し、退職時にそのアクセスを削除しますか?

開発者は子供ではありません。「プルリクエスト以外でマスターにコミットしないでください」と彼らに伝え、彼らがそれを行うことを合理的に期待することができます。それができない場合は、他の開発者を探すことを検討してください。

于 2013-01-24T07:22:21.017 に答える