Branch permissions

Push permissions allow you to restrict write permissions in a specific branch in the repository. Here’s how:

  1. Go to Code, switch the tabs to Branches and click the branch that you want to restrict.
  2. Click Push permissions in the right column and select who’s allowed to make pushes.

Push permissions

Users with restricted access will still be able to pull that branch and browse its contents; however, they will not be able to push or merge it remotely or manage its files from the source browser. You have to be an admin to view and change this setting.