Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Preparing Git repository

Create new repository on gforge6

  1. Go to http://gforge6.eufus.eu/gf/project
  2. Press "Add New Project" button
  3. Fill project data with, and at the end, in the Temple project section select "Basic project with GIT support"
  4. Wait a moment (max. 10 minutes). Gforge will create a git repository for you

Image Added

Create a repository git in an existing project (only for project administrators)


  1. Go to existing project on http://gforge6.eufus.eu/gf/project
  2. Open "Admin" tab
  3. Change "scm:" to "GIT"
  4. Wait a moment (max. 10 minutes). Gforge will create an empty git repository
Warning

SVN repository still exists!
You can checkout data or commit changes.

Image Added

Migrating to Git

The section is based on: https://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git

...

Code Block
$ git svn clone httphttps://my-project<USERNAME>@gforge6.googlecodeeufus.comeu/svn/<SVN_PROJECT_NAME>/ \
      --authors-file=users.txt --no-metadata --prefix "" -s my_project
$ cd my_project

...

Code Block
$ git remote add origin git@my-git-server:myrepository.githttps://<USERNAME>@gforge6.eufus.eu/git/<GIT_PROJECT_NAME>

Because you want all your branches and tags to go up, you can now run this:

...