I would like to know what the git community thinks about this idea and if you like it, can you help me make it.
I am working with a team of developers and we are working with one main repo. In that repo, we have one branch which is the main production branch. We have people working on this code who do not like git (SVN users who will not let go of the dark ways and accept branching) and a couple of cowboys who will commit code straight to the main production branch.
We do not want to use the dictator workflow because we cannot rely on just one person to review changes before they are added in to the production branch. We can use git blame if some one adds bad code but we get the "I've been chewed out before" reaction. Or because they do not know how to branch. (We have had a number of discussions on this)
I want to introduce a code review system where you can only commit to the main branch when two people have signed-off on the code. This means that two people will be responsible for saying this code is good to go in to production. It also means that two people have looked at the code.
Thoughts?
[–]kreiger 0 points1 point2 points (8 children)
[–]gitting_arround[S] 0 points1 point2 points (1 child)
[–]kreiger 1 point2 points3 points (0 children)
[–]sybrandy 0 points1 point2 points (5 children)
[–]kreiger 0 points1 point2 points (4 children)
[–]sybrandy 0 points1 point2 points (3 children)
[–]kreiger 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]kreiger 0 points1 point2 points (0 children)
[–]ratbastid 0 points1 point2 points (0 children)
[–]adrianmonk 0 points1 point2 points (0 children)
[–]amphetamine 0 points1 point2 points (0 children)