Book Image

GitLab Cookbook

By : Jeroen van Baarsen
Book Image

GitLab Cookbook

By: Jeroen van Baarsen

Overview of this book

Table of Contents (16 chapters)
GitLab Cookbook
About the Author
About the Reviewers

Configuring the project's visibility

GitLab allows you to have three types of projects: Private, Internal, and Public. In this recipe, we are going to change the super-git project we created in the previous chapter from a private project to a public project.

When you have a public project, people will be able to view that project even when they don't have an account on your system. People without an account are able to pull the code; people who have an account on your GitLab server but don't have direct access to the project are able to create merge requests and open issues.

How to do it…

In the following steps, we will configure the project's visibility:

  1. Log in to your GitLab instance as a project owner.

  2. Select the project for which you want to change the visibility.

  3. Click on Settings.

  4. Select Public in the Visibility Level section.

  5. Click on Save changes.

  6. At this point, you have made your project public. Let's take a look to confirm this.

  7. Log out as the current user.

  8. Select public projects in the...