error with $ git push origin HEAD:newbranch
- From
- chris <jugg@hotmail.com>
- Date
- May 5, 2011, 08:47 UTC
- Message-ID
- <loom.20110505T103708-225@post.gmane.org>
$ git push origin HEAD:newbranch error: unable to push to unqualified destination: newbranch The destination refspec neither matches an existing ref on the remote nor begins with refs/, and we are unable to guess a prefix based on the source ref. error: failed to push some refs to 'ssh://example.com/srv/git/project.git'
This worked previously[1]. Local git version 1.7.5, remote git version 1.7.2.3.
1. I recently upgraded locally from 1.7.4.x