Subversion

One of the most common alternative version control systems is SVN, which works in a client-server model that differs from the distributed model that Git provides. This doesn't mean the end times though, as there are tools you can use to convert an SVN repository into a Git one. The following steps run through the use of one such tool:

  1. Ensure that Ruby is installed on your machine.
  2. Install svn2git by running the following:
      sudo gem install svn2git
  1. Run the following command to download the repository and convert it to a Git repository with all the correct branches and tags:
      svn2git https://example.com/path/to/svn/repo
  1. Create a new GitLab project.
  2. Run the following commands to push the Git repository to the GitLab project: ...

Get GitLab Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.