How to lock a BRANCH in GIT repository

Hi,

What is the way, by which I can lock a given BRANCH as and when required. I prefer to have this lock on the GIT repository side, instead of having it on client side.

Example: If I am foollowing thr GITFlow workflow then, how can I prevent developrs from making any commit on "Production Branch".

regards,

Chandra

1 answer

0 vote

I guess if you are using Stash, you may set a Branch permission to only selected user. https://confluence.atlassian.com/display/STASH/Using+branch+permissions

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Agile

SIL Simplified - A beginner's guide to Simple Issue Language and how to use it

As a Jira admin, looking for ways to expand your Jira functionality, you may have stumbled across people using and referring to this thing called SIL. Contrary to what some may think, SIL is not the ...

48 views 0 1
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you