bitbucket source code setup

It Peerbits May 17, 2018

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

Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 18, 2018

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

It Peerbits May 28, 2018

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

It Peerbits May 28, 2018

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
AUG Leaders

Atlassian Community Events