How to create a server side hook in Bitbucket cloud?

Hi there,

I would like to create a server-side pre-receive hook in one of my repositories, that rejects pushes with files larger than X MB. The common git way is to add the hook to .git\hooks and make a bare repository to clone from/push to. How can I achieve that in the Bitbucket cloud?

Thanks in advance!

Regards,

Thomas

1 answer

This widget could not be displayed.

So almost 1 year later, nobody can answer this?

*Tumbleweed*

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,319 views 8 11
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