Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

knk106 May 15, 2019

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
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 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
AUG Leaders

Atlassian Community Events