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

How to lock a BRANCH in GIT repository

chandrashekhar vaishnav March 13, 2014

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 votes
Zul NS _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 13, 2014

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
TAGS
AUG Leaders

Atlassian Community Events