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)

Snippets

If you've come from GitHub, you're probably aware of gists—a method of sharing single files, parts of files, or even just chunks of code or prose. GitLab has a similar feature called Snippets, but with some extra features woven into it.

You can access Snippets by clicking the option for it in the menu at the top of the screen:

On this page, you can view your own snippets as well as explore other snippets available on that GitLab instance. If you click New snippet, you'll be faced with the snippet creation screen:

Most of the fields on this page are pretty self-explanatory; you can fill out a title for the snippet and add a description in Markdown format (a brief rundown on Markdowns is available in the Appendix). Of incredible importance is picking the right visibility level. If you want your notes to be for your eyes only, you'll definitely...