Hi Andrea,<div>You cannot push changes using the git:// or the http since they are read-only protocols for git.</div><div>You have to clone the repository (actually non mandatory but it\s the easiest way...) and push back the changes using the push url.</div>
<div> </div><div>So the step to do are:</div><div>1 add your ssh public key to gitorious using the web interface</div><div>2 git clone THE_PUSH_URL</div><div>3 modify your file</div><div>4 git commit -m 'message' file.changed</div>
<div>5 git push</div><div><br></div><div>I hope this help you,</div><div>Cheers,</div><div>Antonio</div><div><br></div><div><br><div class="gmail_quote">On Sat, Jun 5, 2010 at 11:05 AM, Andrea Grandi <span dir="ltr"><<a href="mailto:a.grandi@gmail.com">a.grandi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
<br>
I've just started a project on Gitorius: <a href="http://gitorious.org/msoma" target="_blank">http://gitorious.org/msoma</a><br>
and I've successfully imported it on QtCreator, I've written some<br>
changes and I've committed locally.<br>
<br>
When I try to PUSH changes I get this error:<br>
<br>
10:02 Executing: git push<br>
fatal: protocol error: expected sha/ref, got '<br>
----------------------------------------------<br>
The git:// protocol is read-only.<br>
<br>
Please use the push url as listed on the repository page.<br>
----------------------------------------------'<br>
<br>
'git push' failed (exit code 128).<br>
<br>
It's quite normale I cannot push changes back, since I never specified<br>
a username/password of Gitorius, nor QtCreator asked me one, but I<br>
really cannot find how to configure this in QtCreator settings.<br>
Maybe do I have to configure my Git username/password elsewhere?<br>
<br>
I'm quite new to Git and I really don't know how to push changes back,<br>
neither from terminal :\<br>
<br>
Thanks for your help!<br>
<br>
--<br>
<font color="#888888">Andrea Grandi<br>
email: a.grandi [AT] gmail [DOT] com<br>
website: <a href="http://www.andreagrandi.it" target="_blank">http://www.andreagrandi.it</a><br>
PGP Key: <a href="http://www.andreagrandi.it/pgp_key.asc" target="_blank">http://www.andreagrandi.it/pgp_key.asc</a><br>
_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</font></blockquote></div><br></div>