Knowledge

How to restrict access to a specific branch? (Push permissions)

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

  1. Go 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

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. Not you have to be an admin to view and change this setting.

Acces to branch
Acces to branch

Get started now

14 days of unlimited trial. No credit card required.