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

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

Peter Scheidt Dec 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

2 votes
Answer accepted
Larry Shatzer Dec 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 Dec 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

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,975 views 1 19
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