On 08/23/2012 12:58 PM, Roland McGrath wrote:
> 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.
I see:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url =
git://fedorahosted.org/git/elfutils.git
[branch "master"]
remote = origin
merge = refs/heads/master
[url "ssh://jeffkenton@git.fedorahosted.org/"]
pushinsteadof =
git://git.fedorahosted.org/
Is that OK?
--jeff