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

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,917 views 0 12
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