Thanks
I changed the RW+ rule to RW in gitolite.conf (repo testing
RW = @testgrp1) to restrict force push, still if i do a git push origin master --force , it pushes the code to the remote. i am missing something here.
Yes i did the commit and pushed the change. The conf file is very simple. This is a maint server and i just have 2 other repos for test purpose other than gitolite-admin which is as below
repo testing
RW = @testgrp1
R = @testgrp
repo sandbox_rg
RW+ = @sbrgrp_rw
R = @sbrgrp_r
But deletion of a branch in repo testing fails(as expected).
What i am trying to achieve here is no users should be able to do a force push operation. Only the specific users should be given the privilage to do "git push --force"
forgot to mention yes git push --force works.