Git and GitLab#
Topics 💡#
In the following you’ll find the objectives
and materials
for each of the topics we’ll discuss during this session.
Version Control and Git: Background and Theory#
Objectives📍
What Version Control is and where it comes from
Why it is useful
The basic principles of Git:
the Git database
structure of the Git repository
the staging area
commits
Materials📓#
Sub-section Version Control and Git
Basic Git Workflow#
Objectives📍
init
add
commit
status
diff
log
Materials📓#
-Sub-section Basic workflow
Branching and merging#
Objectives📍
branch
checkout
merge
HEAD and detached HEAD
moving in your commit history
how to solve a merge conflict
Materials📓#
Sub-section Branching and Merging
GitLab workflow#
Objectives📍
What is GitLab
local vs. remote repository
push
pull
clone
fetch
merge
merge conflict between your local and remote repository
Materials📓#
Sub-section GitLab
Contributing on GitLab#
Objectives📍
fork
merge requests
gitlab for project management
git LFS
Materials📓#
Sub-section Contributing
optional/reading/further materials#
YouTube is full of Git/GitLab/GitHub videos for all kinds of levels and features!!! For example: Brainhack Git introduction or GitHub CI
Troubleshooting: Oh shit git or Dangit git (are the same, but the latter is without swearing)
really, just type anything you want to know about Git in YouTube and you’ll find a tutorial for it. I promise.