“I want to use Gitlab in the field, but I don’t really understand”
“I can’t tell the difference between Gitlab and github”
Don’t you think?
Now, even if you try to start studying Gitlab, you will get lost because they all feel similar.
So, if you are a Git beginner, what kind of things should you keep in mind so that you can use it?
So this time
- Simple and straightforward Git concepts
- 3 functions you can do with Gitlab
- Gitlab installation conditions
I will explain in detail about.
This article will help you understand Gitlab and get your work done better.
Table of contents
- What is Gitlab
- Three prerequisites for understanding Gitlab
- 1. Git concept
- 2. About Git and Github
- 3. Difference between Gitlab and Github
- Three features of Gitlab
- Step 1: Comprehensive Code Management
- Step 2: Code review by merge request
- Step 3: Issue management for projects and source code
- 3 benefits of using Gitlab
- Two conditions for introducing Gitlab
- 1. Supported OS
- 2. Hardware
- Gitlab Q&A
- 1.Is there a Japanese version of Gitlab?
- 2. Tell me the difference between Gitlab (github) and sourcetree
- Summary: Let’s master Gitlab and aim for efficient operation
What is Gitlab
Gitlab is an application development support tool made by Rudy on Railas that mainly uses a version control system .
Specifically, as a Git hosting service (a general term for services that rent out server locations), it functions as a server that stores source code.
Knowledge of Git is essential to understanding Gitlab.
For those who want to learn programming themselves, we recommend [DMM WEBCAMP] where even beginners can definitely acquire programming skills.
More than 97% of students start from programming beginners, so you can receive generous learning support from life coaches.
In addition, there are courses that can be acquired from the basic knowledge of programming, so you can proceed with your studies with peace of mind.
Acquire IT skills and realize your ideal career at [ DMM WEBCAMP ]!
✔︎ I want to change my job to an IT engineer from inexperienced ✔︎ I want to
improve my skills and change my career
Three prerequisites for understanding Gitlab
To understand Gitlab, let’s start with Git.
- Git concepts
- About Git and Github
- Difference between Gitlab and Github
I will explain each in detail.
1. Git concept
Git is a system that facilitates file version control, but version control systems include:
- Centralized version control system
- Distributed version control system
There are two types of
The first centralized version control system (other than Git) is a mechanism where the latest version of the file is always managed online by multiple people.
Since we always work only on the latest version, version control is simple, but we need to work online.
For example, one that is widely used is Subversion.
The second distributed version control system (Git) allows you to have multiple storage locations for shared files, both in the cloud and on your own PC.
The advantages and disadvantages of distributed version control systems (e.g. Git) are:
|merit||Multiple people can work in parallel regardless of online or offline.|
|Demerit||Since multiple people can work in parallel, it is necessary to devise ways to integrate each work.|
2. About Git and Github
A folder managed by Git is called a repository.
In order to work efficiently with Git, it is necessary to have a good connection between the remote repository and the local repository.
Github is a service that provides remote repositories for that purpose .
So Github is a web service that manages Git online.
3. Difference between Gitlab and Github
Gitlab has similar features to Github.
This is because Gitlab was developed with reference to Github.
See below for specific differences.
|service||Open source remote repository application
|Web service serving remote repositories
|price||It’s open source and basically free to use||Free for public repositories Repositories that can
only be used by specific people (private repositories) are charged
|Features||The contract with the server for installation and subsequent maintenance are done by the user himself||Since it is operated on the cloud, there is no need to build a server|
In other words, since the price and functions do not change, there is a difference in the license and whether it is easy to customize in-house .
So what exactly can you do with Gitlab?
Three features of Gitlab
Gitlab has two services due to the difference in license fees (free and paid).
Here, we will explain the main functions of “GitLab CE” that can be used for free .
- Comprehensive code management
- Code review by merge request
- Issue management for projects and source code
I will explain each in detail.
Step 1: Comprehensive Code Management
When developing with multiple people, all source code modified by each person is version controlled using Git.
So even people working on different tasks can easily check the current work.
For example, you can browse source code, check changelogs, manage access to repositories, browse and manipulate branches, and much more.
In other words, Gitlab makes it easy to manage between code.
Step 2: Code review by merge request
You can catch problems early when committing edited files.
Because the “GitLab CI/CD” feature allows us to automatically run builds and tests for each merge request.
For example, you can easily resolve conflicts and merge reviewed code .
In other words, you can merge (integrate each work) while checking the changes of the collaborative work.
Step 3: Issue management for projects and source code
You can issue bug tickets and manage issues.
This is because there is an “Issue Board” function that allows you to immediately share issues that arise during development or during service operation.
For example, you can create a to-do list, label your priorities, etc.
Therefore, it is easy to visualize the plan by turning the issues into tasks.
Programming schools are recommended for those who want to learn programming efficiently in their spare time.
Although there is a tuition fee, it is possible to acquire programming skills efficiently in a short period of time.
With [DMM WEBCAMP], you can proceed with programming learning without frustration with a unique curriculum developed for beginners and full learning support.
Also, if you come across something you don’t understand while studying, you can ask your mentor (lecturer) as many questions as you like via chat or video call.
Both online and classroom courses are available, so please choose the course that suits your lifestyle.
A programming school with a success rate of 98% [DMM WEBCAMP]Introducing the real voices
of itsIs there sufficient support for inexperienced people ? ? What are your skills ?
✔curriculum is work
3 benefits of using Gitlab
Advantages of using Gitlab
- Can share project content
- Security can be managed on-premises (in-house)
- Gitlab functions can be used under Git management
There are three.
Gitlab allows content management even for non-engineers.
Because you can check from the browser without looking at the console.
For example, if there are engineers who can use Gitlab in your company, you can consider introducing it.
In other words, it does not depend on other services, so it has the advantage of being easy to start in any development process .
Two conditions for introducing Gitlab
Here we describe the conditions that Gitlab can introduce.
- Supported OS
Please note that you may not be able to use the service if you do not confirm the conditions .
Let’s take a look at each.
1. Supported OS
The OS supported by Gitlab is 64bit or lower Linux .
- CenOS / Red Hat Enterprise Linux / Scientific Linux / Oracle Linux
- Open SUSE
If you want to install Gitlab under Windows environment, build Gitlab separately using Linux VM or container environment.
Minimum hardware requirements vary depending on the number of users .
For 100 users, at a minimum:
|CPU||Prepare at least 2 Core or more. (It is not recommended because the operation becomes significantly slow when running on a 1-core CPU.)|
|memory||Secure 4GB or more of RAM and 2GB or more of swap space.|
|storage||If you want to reduce the response time, consider using a high-speed HDD (7200PRM or higher) such as SAS or an SSD.|
Reference: GitLab Practical Guide by Fugo Kitayama
If you can confirm the two conditions so far, please try to actually install it.
Gitlab can be installed from the following site.
Here, I will answer your concerns about Gitlab.
- Is there a Japanese version of Gitlab?
- Tell me the difference between Gitlab (github) and sourcetree
Get your questions answered and get to know Gitlab better.
1.Is there a Japanese version of Gitlab?
Gitlab’s site is initially all in English.
However , if you set the user , you can localize Gitlab to Japanese, so it will be displayed in Japanese.
If you do not understand English, please set it in advance.
2. Tell me the difference between Gitlab (github) and sourcetree
The difference is whether it is a Git server or application software .
Because Gitlab (github) refers to a remote repository (external server) managed by Git.
Sourcetree, on the other hand, is a Git client that allows you to operate your local repository with just the mouse.
In other words, it is the same function related to Git, but Gitlab (github) is required when linking with remote repositories.
Summary: Let’s master Gitlab and aim for efficient operation
In this article, I talked about the mechanism of Git, the functions of Gitlab, and the requirements that can be introduced.
- Gitlab is an application development support tool made by Rudy on Railas
- To use Gtlab, you need to understand Git
- Check the conditions before installing Gitlab
When using Gitlab in the field, you can work smoothly by grasping from the concept of Git .
Once you have a certain amount of knowledge, let’s actually install and implement it.