On Jul 18, 2012 11:56 AM, "Ake G" <[email protected]> wrote: > > 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
I don't think you fully understand what got and Gitorious are. Git is a version control system. It manages your code and changes to it. Gitorious is a git hosting service. So you don't convert your repository to Gitorious, you merely "push" your git repo to it. I'm working off of (bad) memory here but these steps should get you working. # create a project on Gitorious. # navigate to your new project and find the clone URL (should look something like "git clone [email protected]/myproject.git") # go to your git repo (the one you migrated from CVS) and run "$ git remote add origin $url" where $url is the [email protected]/myproject.git URL. # run "$ git push origin master --mirror --force". This should update the Gitorious to your local repo. Hope that helps, Kevin. -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
