Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
GitLab Quick Start Guide

You're reading from   GitLab Quick Start Guide Migrate to GitLab for all your repository management solutions

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher Packt
ISBN-13 9781789534344
Length 180 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Adam O'Grady Adam O'Grady
Author Profile Icon Adam O'Grady
Adam O'Grady
Arrow right icon
View More author details
Toc

Using Git

In the first chapter, we explored the concept of version control systems and introduced Git as a tool for distributed version control. We also looked briefly at how Gitworks under the hood. However, so far, we haven't explored how to use git, which is a major prerequisite for most users who'll be working with GitLab.

One thing to recognize is the life cycle of Git work and the stages it can go through. There are four separate parts: your working directory, the index or staging area, committing to the local repository, and pushing to remote repositories:

The working directory or working copy consists of your local files and any changes you've made to them. The working directory is created from your commit history by git, which reconstructs it from its storage of blobs (binary large objects). When you change branches, Git looks in its database for the reference...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime