Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Restricting Checkout or branch creation from a particular branch

Ganesh Babu Community Leader Apr 23, 2020

Hello Team,


I am trying to look for a help or suggestion. Any inputs are ok. Thanks well in Advance.


1. Here is my question i need to restrict the branch creation from master branch like nobody should checkout the code from the master branch.

2. After the achievement of 1st statement i need only admins to create branch from master.

Can anyone help me with 1st question. With any pre-receive hook scripts.


Thank you,


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in DevOps

GitHub Script with GitHub Actions Automating Workflows

Hello folks, This is a series of articles where I explain GitHub Script with GitHub Actions and how you can automate publishing data on Atlassian & GitHub Platform based on the results of Workf...

119 views 1 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you