Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Syncing two feature branches with a post-commit hook

I'd like to sync two feature branches on the Bitbucket Cloud with a post-commit hook (using rebase). I could not find how to do that in Bitbucket. 

1 answer

0 votes
Syahrul Atlassian Team Jan 05, 2022

Hi @sandip 


G'day!

Currently, Bitbucket does not support post-commit-hook but it's possible to do it locally as per our documentation Git hooks. It's not possible to enforce it on the Bitbucket level, but you can enforce it on the local machine, the downside is that you have to manually configure this on each developer machine.

We do have an open feature request to implement this in the future though, which you can find here:

Cheers,
Syahrul

Hi Syahrul,

 

Thanks for the answer!

I'm just curious if its possible to do this using git directly on the Bitbucket Cloud server? The Bitbucket support you mentioned would essentially just be a wrapper around the core git functionality, correct?

 

Thanks,

Sandip

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

239 views 2 5
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