Clone and push

The least high-tech method for importing a repository is the manual clone and push process, useful for repositories not accessible from your GitLab instance or too large to be copied across using the previous Project URL method. In this case, you must first check out the repository so you have a copy of it available locally:

  1. From the main screen, click the + icon up at the top and then select New Project.
  2. Stay on the Blank project tab and do the following:
    1. Select a user/group for the project.
    2. Provide a project name.
    3. Fill out the project description.
    4. Set the project visibility level.
  3. Do not initialize the project with a README. Click the Create project button and you'll see your new repository.
  4. Now, you need to go to your ...

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.