GIT - Explained

Опубликовано: 21 Июнь 2022
на канале: 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


Смотрите видео GIT - Explained онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь A shot of code 21 Июнь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 768 раз и оно понравилось 38 людям.