Table of Contents |
---|
Preparing Git repository
Create new repository on gforge6
- Go to http://gforge6.eufus.eu/gf/project
- Press "Add New Project" button
- Fill project data with, and at the end, in the Temple project section select "Basic project with GIT support"
- Wait a moment (max. 10 minutes). Gforge will create a git repository for you
Create a repository git in an existing project (only for project administrators)
- Go to existing project on http://gforge6.eufus.eu/gf/project
- Open "Admin" tab
- Change "scm:" to "GIT"
- Wait a moment (max. 10 minutes). Gforge will create an empty git repository
Warning |
---|
SVN repository still exists! |
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:
...