This is a step-by-step guide to importing and mirroring a Subversion project into a Git repository.
Select the way to identify a Subversion project layout (the trunk, branches, tags, and shelves).
To specify manually the rules to map the Subversion directories to Git references at the next step, select Manual Configuration.
To import or mirror the whole Subversion directory, which the URL points to, into a single Git master branch, select Single Directory Translation.
To allow SVN Mirror to identify branches and tags automatically relative to the trunk folder, select Automatic Configuration. To specify the trunk folder, click Select Trunk Path… , and then select the trunk folder.
The automatic layout identification may take some time in case your Subversion project has a large branch history. |
To import a Subversion project into a Git repository, click Import.
After import, the synchronization between the Git and the Subversion repositories is disabled.
Any time you can start synchronizing the Git repository, which contains the imported Subversion project, with the original Subversion repository. To do this, click Enable on the Mirror Status pane. |
To mirror a Subversion project into a Git repository, click Mirror.
The Git repository with the imported Subversion project stayed synchronized with the original Subversion repository. The changes committed either with Subversion or Git are synchronized in both directions.
In case you import or mirror into the non-empty Git repository, the commits that have already existed in this repository become unsynced. After import, resolve conflicts manually on the Unsynced Commits tab. |
Importing and mirroring may take significant time. It depends on the size of your Subversion project. |