Reject-force push


#1

Hello,
I’m fairly new to gogs and was wondering what the best way to set it up to reject a force push.

Gogs Version: 0.11.79.1211
Go1.10.2


#2

Hi, use the protected branch feature in the repository setting area.