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: 

Where do I define the policies for prehook "Reject Force Push"?

Peter Scheidt
December 18, 2014

Stash is shipped with the prehook "Reject Force Push" (the one with Darth Vader on the icon). I can not find any information about where I can define the policies the prehook is supposed to use.

Any help is welcome smile

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Larry Shatzer
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.
December 18, 2014

It will reject ALL force pushes to that repository. If you want finer grained control, there is the Force Field plugin.

Peter Scheidt
December 18, 2014

Hi Larry,

right you are, I did not look closly and took the line on the grey background to be applicaple to the hook, which is obviously wrong upon closer looking wink

hook.png

Thanks
Peter

TAGS
AUG Leaders

Atlassian Community Events