Gitorious tells that I can clone the repository with
git clone http://git.gitorious.org/scheator/scheator.git
which worked but when I tried to push I got this error:
fatal: protocol error: expected sha/ref, got '
----------------------------------------------
The git:// protocol is read-only.
Please use the push url as listed on the repository page.
----------------------------------------------'
Reason is that the url for the repository is incorrect in .git/config. It looked like
url = git://gitorious.org/scheator/scheator.git
when in fact it should look like
url = git@gitorious.org:scheator/scheator.git
After I fixed that, it works. I can't figure out why this can't be correct in the first place without the need to fix it by hand.
Thanks. Just ran into this today.
ReplyDeleteAwesome man, thanks a ton !!!
ReplyDeleteThanks a lot.
ReplyDeleteThanks, worked for me too.
ReplyDeleteThanks buddy
ReplyDelete