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

Pull and merge changes of selected branch (Remote) only to local repository using SourceTree

I'm new to Git and new to atlassian bitbucket as well. I'm using sourcetree. I'm working on project on which 7 other developers are working too. A new branch is created for each n every developer. I have my own branch too. After the task completed, I pushed my changes to remote default branch. They (client) found some issues in my project and did some changes in my branch only. Now I want to pull those changes and merge it to my local repository. There are also changes in other developer's branches too. But I don't want to pull/merge other developer's changes. I only want to pull/merge changes in my local project which they did in my branch only. I don't know how to do it. Can somebody please explain step by step procedure? Thanks

1 answer

0 votes
bgannin Atlassian Team Jun 05, 2019

Hi @knk106,

When you click "Pull" in the toolbar, the dialog that comes up includes the following:

Screen Shot 2019-06-05 at 1.11.42 PM.png

The local branch which you are 'merging' into is whatever your current branch is, and the branch you are pulling (changes from others to your work) is what should be selected in the popup. Hopefully that helps clarify a bit.

Brian Ganninger
Principal Developer, Sourcetree

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,128 views 5 13
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