What I have done is exported each CVS repository into a git repository and I have confirmed that the history of my module is present.
Now that I have the bare and I have confirmed that the history is intact, I would like to transfer the contents of the 'init --bare' repo to the gitorious server. I do not have a GIT server but just a local git repository. Ultimately I want to put this onto the gitorious server. Before using your instructions are the steps you provided to transfer the local GIT repo to the gitorious server? If yes will the history be preserved on Gitorious ? Thanks Ake On Wednesday, July 18, 2012 1:23:11 PM UTC-4, Federico Don wrote: > > Hi, > > If you have one server with GIT and you have other server with GITORIOUS, > and you need migrate repository from GIT to GITORIOUS, you need this step > to step: > > 1- You need create a new Repository in GITORIOUS > > 2- In server GIT inside to Repository: > > $ git remote -v (You will show the "remotes" from you do the pull and push > the project). > $ git remote rm origin (This is to clear the origin). > $ git remote add origin git@SERVER_GITORIOUS:NANME_PROYECT/NAME_PROYEC.git > (with this command add the new origin of the project, ie the repo > gitorious). > $ git push origin master (with that we got the code to the new repo with > all history). > > 3- Check on GITORIOUS server if your data is all in this repository > > This is what you need? > > Regards, > > 2012/7/18 Ake G <[email protected]> > >> Current working version of git version 1.6.1 on Ubuntu 11.04 >> >> Is there any scripts that do this easily? >> >> I have exported my repos from CVS -> git following documentation at >> http://cvs2svn.tigris.org/cvs2git.html under the '*Usage*' Heading. >> >> I have also used followed >> http://www.pedro.kiefer.com.br/2011/02/from-cvs-to-git-to-gitorious. >> >> running the ruby script as root on the server says it is "ok!" when >> complete but nothing is placed into my gitorious repository under my >> Project that was created manually in Gitorious as mentioned in Pedro's >> website. >> >> I executed the following command at the Ubuntu command line as root >> >> sudo env RAILS_ENV=production ./MigrateGitToGitorious.rb Project_Folder >> >> FYI the ruby script in this command line contains the exact contents of >> the script @ >> http://www.pedro.kiefer.com.br/2011/02/from-cvs-to-git-to-gitorious >> >> Is there any easy way to get git repos into gitorious >> >> Please advise/help >> >> Ake >> >> -- >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> > > -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
