SubGit IMPORT to GitLab

  1. Configure GitLab server:

  2. Configure the repository:

      • Change identity to 'git' user:

        $ su git
      • Change directory to that one that contains the newly created project. GitLab usually stores its project in

        /var/opt/gitlab/git-data/repositories/<username>

        username here is actual GitLab user name that was used during the project creation on step 1. Step into that directory:

        $ cd /var/opt/gitlab/git-data/repositories/user

        New GitLab project we have created in step 1 is being stored here in the directory of the same name we named the project:

        $ ls -l 
        total 0 
        drwxrwx---. 6 git git 131 apr 25 02:06 project.git 
        drwxrwx---. 6 git git 131 apr 25 02:06 project.wiki.git
      • Specify authors mapping

        Update GIT_REPOS/subgit/authors.txt file or change core.authors option to point to global authors mapping

        Find more details about authors mapping in Import book


     
  3. Perform import and start using new Git repository:

Note: no license key required for import!

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