SourceTree: dst ref refs/heads/master receives from more than one src

2.7k views Asked by At

I don't understand this git (sent via SourceTree) error, and I have no idea why it is happening. I simply commit to my own repository, working alone on the project. What could i try to do?

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master using_php_inside:master
Pushing to https://github.com/sl5net/SL5_AHK_Refactor_engine
error: dst ref refs/heads/master receives from more than one src.
error: failed to push some refs to 'https://github.com/sl5net/SL5_AHK_Refactor_engine'
1

There are 1 answers

5
kad Dembele On

It seems your pushing from your local master to remote master and the same time, your local using_php_inside branch to remote master.

Try to not selecting your other local branch when pushing. The problem can be due to how you have configure your sourcetree client.