Video description
Your one-stop destination for everything you need to know about Git.
About This Video
- Understand how Git works and master the essentials
- Learn about merging types and stashing
- Understand Git log filtering, merge conflicts, and searching
In Detail
Version Control has always been part of the software development lifecycle to facilitate programmers to restore the previous versions and assist with release management. Git is a popular open-source distributed version control software and manages hundreds of branches with hundreds of programmers very efficiently.
This course includes the following three mini-courses to give you a wholesome experience:
- Git essentials
- Merging types, branching type, stash, and rebase
- Searching, rewriting, history, and reset
We will start with Git installation and learn all the fundamentals in a step-by-step approach. We will also cover Git architecture, which is fundamental in understanding Git. This will be followed by creating Git repositories and adding, changing, and deleting files. You will learn to commit changes to Git, compare commits, and review commit logs. We will also discuss how to undo changes and ignore files based on name, regular expression, and folder name.
Finally, you will learn to use the git log command efficiently to filter the commit log.
By the end of the course, you will gain a strong understanding of the fundamentals of Git, which will also aid in understanding GitHub, BitBucket, and so on.
Audience
This course is for cloud engineers, DevOps engineers, and architects. Developers, programmers, software managers, and modern operations managers can also take up this course to upskill them.
Table of Contents
Chapter 1 : Course 1: Git Essentials
Course Overview
Chapter 2 : Getting Started
Module Overview
What is a Version Control System
VCS Types
Little History
What is Git? Why Git?
Git Landscape
Chapter 3 : Git Installation and Basic Concepts
Overview
Git Installation – Ubuntu 20.04
Git Installation - MAC
Git Installation - Windows 10
Git Completion
Git Configuration
Git Help
Initializing a Git Repository and “.git” Folder
My First Commit
Git Clone
A Note on Commit Messages
Chapter 4 : Git Architecture and Basic Operations
Module Overview
Git Architecture (three Stages) and Workflow
Hash values (SHA-1)
The HEAD Pointer
Add and Edit Files
Move, Rename and Delete Files
View Changes
Single Step to Add and Commit
“add” Dry-Run
Git Diff - Part 1
Git Diff - Part 2
Chapter 5 : Revert the Changes
Module Overview
Rollback File Changes
Amend Commits
Rollback a Commit
Remove Untracked Files
Chapter 6 : Ignore Files
Module Overview
Ignoring Files
Track Empty Directories
Ignore Tracked Files
Chapter 7 : Git Branches
Module Overview
Understanding Branches
Create Branches and Switch
Rename Branches
Delete Branches
Merging Branches
Git Prompt Script
Chapter 8 : Tags
Module Overview
What are Tags? (and Types)
Create, List and Delete Tags
Tags folder in “.git”
Retagging/Replacing Old Tags
Checkout Tags and Detached HEAD
Chapter 9 : Aliases
Module Overview
Git Aliases
Git Alias Sample List
Chapter 10 : Remote Repository and Commit Log Filtering
Module Overview
Clone a Remote Repository
Review the Cloned Repo
Commit Log Filtering - Part 1
Commit Log Filtering - Part 2
Commit Log Filtering - Part 3
Chapter 11 : Course 1: Conclusion
Congratulations and What’s Next?
Chapter 12 : Course 2: Merging Types, Branching Types, Stash, and Rebase
Course Overview
Chapter 13 : Merging and Conflicts
Module Overview
Merging Types
Fast Forward Demo
3-Way Merge Demo
Simple Merge Conflicts
Merge Conflicts Demo
Chapter 14 : Branching Conflicts
Module Overview
Branching Strategies
Chapter 15 : Stashing
Module Overview
What is Stashing?
Stash Demo 1
Stash Demo 2
Stashing Techniques - Part 1
Stashing Techniques - Part 2
Creating a Branch from a Stash
Chapter 16 : Rebasing
Module Overview
What is Rebasing?
Rebase Demo
Chapter 17 : Course 3: Searching, Rewriting History and Reset
Course Overview
Chapter 18 : Searching
Overview
Git Grep - Part 1
Git Grep - Part 2
Chapter 19 : Rewriting History
Overview
What is “Rewriting History”?
Update the Last commit
Rebase - Part 1
Rebase - Part 2 (Squash)
Rebase - Part 3 (Drop Commit)
Rebase - Part 4 (Reorder Commits)
Chapter 20 : Git Reset
Overview
Reset - Soft, Mixed, and Hard
Chapter 21 : Course 3: Conclusion
Congrats