The last step failed:
git push -n -v --progress origin HEAD:master
Pushing to
git://fedorahosted.org/git/elfutils.git
fatal: The remote end hung up unexpectedly
Diagnosis?
It's trying to push to the git:// URL, which can never work.
My elfutils/.git/config file looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url =
git://git.fedorahosted.org/git/elfutils.git
[url "ssh://roland@git.fedorahosted.org/"]
pushinsteadof =
git://git.fedorahosted.org/
Assuming your remote.origin.url matches mine, the 'git config'
command I gave should produce the same url...pushinteadof bit
(modulo username, of course). If your .git/config looks appropriate
but push is trying to use git://, then you could instead just change
the 'url = ...' line to use the ssh URL and see if that works.