Skip to content

Instantly share code, notes, and snippets.

@juliandunn
Created January 14, 2013 17:26
Show Gist options
  • Select an option

  • Save juliandunn/4531686 to your computer and use it in GitHub Desktop.

Select an option

Save juliandunn/4531686 to your computer and use it in GitHub Desktop.
awesome git error message when deleting nonexistent remote branch
mycomputer:recipes (master)$ git push origin -u :feature/whatever
error: unable to push to unqualified destination: feature/whatever
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 'gitolite@git.XXXXXXXXX:XXXXXX.git'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment