- Install SubGit tool according to the appropriate Installation guide.
Import data into a local Git repository by the command:
AUTHORS_FILE –a path to authors file, that contains SVN-to-Git authors names mapping. For details, see Authors mapping user manual.
TRUNK –a path, relative to
SVN_URL, that leads to an SVN directory playing a role of the main line of development. For details see "Branches and Tags mapping" user manual.
BRANCHES –a path, relative to
SVN_URL, that leads to an SVN directory that contains SVN project's branches. For details see "Branches and Tags mapping" user manual.
TAGS –a path, relative to
SVN_URL, that leads to an SVN directory that contains SVN project's tags. For details see "Branches and Tags mapping" user manual.
USER –an SVN username to be used to access the imported SVN project.
PASSWORD –the SVN
See the import command example…
SVN_URL –the SVN project URL.
GIT_REPO –a path to a new local Git repository where data from the SVN project is being imported to.
When the command is completed, you can clone your new Git repository and start working with it:
WORK_TREE– a path to your working copy.See git clone example…
Empty working tree case
If Git warns you that you are cloning an empty repository and you don't see your files in the working tree, most probably automatic branches and tags mapping didn't work correctly. In this case, mapping has to be set manually, see details on mapping in Branches and tags mapping.
- Get support:
If you encounter any problems, see one of the following guides for more details:
For one-time import, no license is needed.
Should you need assistance, don't hesitate to contact us at email@example.com.