Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I bring an old branch up to date with my main branch?

Jonathon Woolf
December 23, 2024

Pretty sure this is a newbie question, but I really don't know so I'm going to ask.

I have an old feature branch (call it B) that hasn't been touched in about six months,  because other projects took priority.  Now it's being reactivated.  The main branch M of my repository has undergone a LOT of changes and updates in those six months, but I don't think any of those changes conflict with the changes in B.   However, "don't think" isn't good enough; I want to be sure. 

So I want to copy all changes from M into B, except that if any changes in M conflict with changes I made in B, then I get notified and the B version doesn't get overwritten.  Then I can reconcile the two versions and make sure B will still work as originally intended even with the changes from M.  How do I do this?  

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 25, 2024

G'day, @Jonathon Woolf 

Welcome to the community!

I believe we have a Sync feature that allows you to merge the branch with the main branch. Check out our documentation below on how to sync:

Syncy main branch 

I hope this helps.

Regards,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events