Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,864
Community Members
 
Community Events
168
Community Groups

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
TAGS
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

78,670 views 134 29
Read article

Atlassian Community Events