1. Install SubGit tool according to the Installation guide.

  2. Configure GitHub


     
  3. Configure local repository:

    Run this command on behalf of the same user you use to serve Git repository:

    $ subgit-3.2.4/bin/subgit configure --layout auto --trunk trunk SVN_URL GIT_REPO

    where

      • Specify authors mapping

        Configure authors mapping in default authors mapping file:

        GIT_REPOS/subgit/authors.txt 

        Or change core.authors option so that it points to the global authors mapping file.

        Find more details about authors mapping in Authors mapping article.



  4. Import data into local Git repository by the command:

    $ /tmp/subgit-3.2.4/bin/subgit import GIT_REPO
    $ subgit import ./project.git
    
                SubGit version 3.2.4 ('Bobique') build #3670
    
                Authentication realm: <http://svn.example.com:80> Subversion Repository
                Username [git]: user
                Password for 'user': 
    
                Translating Subversion revisions to Git commits...
    
                    Subversion revisions translated: 10248.
                    Total time: 2 hours 15 minutes 38 seconds.
    
                IMPORT SUCCESSFUL
  5. Sync local Git repository with GitHub:


Note: no license key required for import!

Would you have any assistance, don't hesitate to contact us at support@subgit.com.