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

bitbucket source code setup

hi i need a help for implement below scennario,

i have a main source code master branch named A.

i also have child branches named as B,C,D.

now i have same code on all of my branches there is one part custome code on my child branches(B,C,D).

Now main thing i want to do is when  i am changing my source code in master branch A. then it should automatically change in  child branch B,C,D. but the custom code on that branches should remain untouched.

 

Please give me the solution on that and tell me how can i implement this scenario in bitbucket???????

 

Thanks in advance

1 comment

Hi,

It sounds like you want to use forks rather than branches - see https://confluence.atlassian.com/bitbucketserver/using-forks-in-bitbucket-server-776639958.html

Cheers,

Christian

Premier Support Engineer

Atlassian

but i am able to create forks but after forking while i changed the fork repo.

main repo is not changed i want it to sync with the changes

hi i need a help for implement below scennario,

i have a main source code master branch named A.

i also have child branches named as B,C,D.

now i have same code on all of my branches there is one part custome code on my child branches(B,C,D).

Now main thing i want to do is when  i am changing my source code in master branch A. then it should automatically change in  child branch B,C,D. but the custom code on that branches should remain untouched.

 

Please give me the solution on that and tell me how can i implement this scenario in bitbucket???????

 

 bracnch B,C,D should be individual and never merged to each other or main branch

Comment

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,826 views 10 16
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