Jason Meridth

Learn, Converse, Share

Refspec Matches More Than One

18 Jan 2010 - San Antonio

I was trying to push to a canonical repository this morning and got the following error:

> git push origin master
error: src refspec master matches more than one.
error: failed to push some refs to 'ssh://user@host/srv/git/repo'

This happened because I had accidentally created a master tag locally. Once I deleted the tag locally:

tag -d master

I was able to push again.

Comments