Can I interact with remote branches from local SourceTree?

Hi, New user here.

Is it possible to merge the branches of server repository (remote branches) from local SourceTree (assuming I have all the permissions)?

My issue is, I am using a git enabled server repository which does not have options to Merge branches. I have committed some files to my release branch and now I want to bring those changes to the master branch on server, but the interface doesn't have an option. I think it requires me to use git command line for such operations, but that is not a good option. 

So I am trying to find if there is a workaround in SourceTree to do the same.

1 answer

1 vote

Hi Ratnesh, you could pull your changes to Sourcetree, merge the changes here, and then push them to your server again already merged. Would that work for you? Have you tried it?

Regards,

Ana

Thank you for your reply. But this won't serve my purpose here.

We want to manage the SERVER branches as: Master - the final release changes, and derived - as the production changes.

So every time some changes are finalized and pushed to the SERVER derived branch, it later needs to be merged to SERVER master too.

There is no need of multiple branches in my local repository.

I just need to find if I would be able to merge the SERVER branches from local SourceTree (assuming I have the admin permissions).

I hope I am clear in this description. Please let me know if you need further explanation.

 

Regards,

Ratnesh

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 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...

841 views 3 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you