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

Sourcetree error when trying to pull from repository

Mac OS El Capitan

Sourcetree 2.7.1

system git 2.10.1

Getting the following error

 

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree pull origin master

From https://bitbucket.org/xxxx/yyyyy

* branch            master     -> FETCH_HEAD

fatal: refusing to merge unrelated histories

Completed with errors, see above

1 answer

1 vote
bgannin Atlassian Team Apr 05, 2018

There's not a way to resolve this within Sourcetree's UI but it seems like this thread has some helpful suggestions for a CLI solution: https://stackoverflow.com/questions/37937984/git-refusing-to-merge-unrelated-histories-on-rebase. HTH.

Brian Ganninger
Senior Mac 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,942 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