The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Reject direct push hook

pdolega
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 30, 2014

This question is more specific version of this one -> https://answers.atlassian.com/questions/207784/block-writing-to-master-in-stash

Basically I was searching (and couldn't find) hook plugin that could allow me to block direct pushes to particular branches. Does such hook already exist in off-the-shelf version ?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 30, 2014

I have not seen one like that too. You may need to write your own custom hook.

TAGS
AUG Leaders

Atlassian Community Events