I am stupid, and cloned a GNOME git repository I had intended on writing to from git://git.gnome.org/gxml. Last week on a Planet GNOME update, I proudly declared my intent on pushing things more regularly. However, each time I tried, I'd get this loathsome message:
[richard@clarity gxml]$ git push fatal: The remote end hung up unexpectedly
Today, for purity, I even made a regular diff of my files, re-cloned the repository, re-committed all my changes, to no avail. After yet more Googling, though, at last I understood: http://live.gnome.org/TranslationProject/GitHowTo#Convert_an_anonymous_clone_into_an_eponymous_one
I was stupid when I blindly cloned it anonymously, but believed for the last week I'd done it correctly. http://live.gnome.org/Git/Developers clearly distinguishes between anonymous access and developer access, too.
Ultimately, I should have done:
git clone ssh://[login]@]git.gnome.org/git/[project]
But instead I did
git clone git://git.gnome.org/[project]
This was easily fixed by running
git config remote.origin.url ssh://[login]@git.gnome.org/git/[project]
Documentation is now up, so back to libgdata!
No comments:
Post a Comment