GIT - Explained

Published: 21 June 2022
on channel: A shot of code
768
38

Looking to take your Git Knowledge to the next level? In this Git Tutorial we'll be looking to get a deeper understanding of Git, and hopefully feeling a lot more comfortable when performing some of the more scary Git operations, and even the day to day operations, by knowing more about what is going on under the hood we'll be a little less reliant on that magic that is happening.

On this path we'll encounter the 3 abstract areas of Git that we need to learn about, these being the Working Area, Staging Area and the Repository. Also we'll examine the 3 objects that Git creates to track our rep, these are the Blob, Tree and Commit objects.

For this demo we'll be creating a file and adding to Git with Git Add and Git Commit, we'll actually create the file inside of Git first and then pull it out of Git to create the file on our file system. This
way we can see each of the internal operations that are performed by these high level Git commands. We'll be using Hash-Object, Update-Index, Write-Tree and Commit-Tree to insert the file into our GIT repo and then Git Reset --hard in order to pull it back out into our Working Area.

So if interested in how to use Git easily hope this helps!

00:00 Intro
00:40 Working Area, Staging Area, Repo
01:40 Blob, Tree, Commit
02:40 Creating .git folder
04:10 Create BLOB - Hash-Object
06:30 Add to Index - Update-Index
09:00 Create TREE - Write-Tree
11:00 Create COMMIT - Commit-Tree
12:40 Create Branch
14:00 Git Rest HARD
14:45 Summary


Watch video GIT - Explained online without registration, duration hours minute second in high quality. This video was added by user A shot of code 21 June 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 768 once and liked it 38 people.