Just to let you guys know. I talked with INFRA and they protected our master branches in all of our remote repositories.
I tested and if I try to reset my local branch to a previous commit and then push it using “push -f”, the push is rejected. However, if I add a new commit and if I push using “push -f”, the push is accepted. I thought that the second case would be rejected as well. So, on the upside, now we have our master branch protected. On the downside, there is a commit with a dummy file that I created that I am not able to remove anymore :( I will see if INFRA can help me to remove that dummy commit (by allowing one last push -f ) On Mon, Oct 8, 2018 at 10:25 AM Rafael Weingärtner < rafaelweingart...@gmail.com> wrote: > I will open a ticket with Infra to check the possibility of protecting > branches then. > Thanks for your feedback guys. > > On Mon, Oct 8, 2018 at 4:52 AM Rene Moser <m...@renemoser.net> wrote: > >> On 10/08/2018 09:24 AM, Rohit Yadav wrote: >> > +1 for protecting master and recent 4.{11,10,9...} branches from force >> pushes. >> >> One of those Mondays... ;) >> >> +1 >> > > > -- > Rafael Weingärtner > -- Rafael Weingärtner