[maemo-developers] Pushing changes on Gitorius from QtCreator
From: Antonio Aloisio antonio.aloisio at gmail.comDate: Sat Jun 5 11:43:39 EEST 2010
- Previous message: Pushing changes on Gitorius from QtCreator
- Next message: Pushing changes on Gitorius from QtCreator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Andrea, You cannot push changes using the git:// or the http since they are read-only protocols for git. You have to clone the repository (actually non mandatory but it\s the easiest way...) and push back the changes using the push url. So the step to do are: 1 add your ssh public key to gitorious using the web interface 2 git clone THE_PUSH_URL 3 modify your file 4 git commit -m 'message' file.changed 5 git push I hope this help you, Cheers, Antonio On Sat, Jun 5, 2010 at 11:05 AM, Andrea Grandi <a.grandi at gmail.com> wrote: > Hello, > > I've just started a project on Gitorius: http://gitorious.org/msoma > and I've successfully imported it on QtCreator, I've written some > changes and I've committed locally. > > When I try to PUSH changes I get this error: > > 10:02 Executing: git push > fatal: protocol error: expected sha/ref, got ' > ---------------------------------------------- > The git:// protocol is read-only. > > Please use the push url as listed on the repository page. > ----------------------------------------------' > > 'git push' failed (exit code 128). > > It's quite normale I cannot push changes back, since I never specified > a username/password of Gitorius, nor QtCreator asked me one, but I > really cannot find how to configure this in QtCreator settings. > Maybe do I have to configure my Git username/password elsewhere? > > I'm quite new to Git and I really don't know how to push changes back, > neither from terminal :\ > > Thanks for your help! > > -- > Andrea Grandi > email: a.grandi [AT] gmail [DOT] com > website: http://www.andreagrandi.it > PGP Key: http://www.andreagrandi.it/pgp_key.asc > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100605/eb75d6f6/attachment.htm>
- Previous message: Pushing changes on Gitorius from QtCreator
- Next message: Pushing changes on Gitorius from QtCreator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]