Book Image

GitLab Quick Start Guide

By : Adam O'Grady
Book Image

GitLab Quick Start Guide

By: Adam O'Grady

Overview of this book

Gitlab is an open source repository management and version control toolkit with an enterprise offering. This book is the ideal guide to GitLab as a version control system (VCS), issue management tool, and a continuous integration platform. The book starts with an introduction to GitLab, a walkthrough of its features, and explores concepts such as version control systems, continuous integration, and continuous deployment. It then takes you through the process of downloading and installing a local copy of the on-premise version of GitLab in Ubuntu and/or CentOS. You will look at some common work?ows associated with GitLab work?ow and learn about project management in GitLab. You will see tools and techniques for migrating your code base from various version control systems such as GitHub and SVN to GitLab. By the end of the book, you will be using Gitlab for repository management, and be able to migrate projects from other VCSs to GitLab.
Table of Contents (10 chapters)

Summary

After this chapter, you should feel confident in importing projects to GitLab from a variety of different sources. This is important because in many situations you may already have an established VCS or a code-hosting platform before you look at moving to GitLab, and it greatly reduces friction in moving to a new platform if you can easily import existing work.

We started the chapter by looking at importing from the biggest code-hosting platform around, GitHub. We looked at two methods of migrating: using the OAuth2 flow and using personal access tokens. Next up, we examined BitBucket by Atlassian and how to import Git projects from BitBucket into GitLab using the OAuth2 workflow. We then looked at importing any Git repository that can be accessed via URL, as well as the most low-tech method of simply downloading an existing repository to your local machine, changing the...