If I am a master of a repository, I could push to the master branch in 
gitlab directly without using a "merge request". I can always work on a 
feature branch and only push there. But I still could make a mistake to put 
changes into the master branch, and push them to gitlab accidentally 
because changing branch is so easy in Git. 

I think it is a good practice that even masters of a repository should use 
merge request to merge code into the master branch, and give team members a 
chance to review your code. 

But how could you enforce this using protected branch workflow? Or the 
forking workflow is the only option?

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/dc56120e-e1a5-4c97-9874-5c69380f61c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to