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

Sourcetree error when trying to pull from repository

Cyriac Joseph
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 4, 2018

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

Atlassian Community Events