A Comprehensive Look at Where Git Files Are Stored


show more Understanding where Git files are stored provides you with in-depth training on Developer. Taught by Kevin Skoglund as part of the Git Essential Training show less
please wait ...

Understanding where Git files are stored

In the last movie, we initialized Git with our first_git_project. I want us to look at what that did and also understand where Git stores the files that it uses to do version control on our project. You can see that I have got the first_git_project directory open here in the Finder, and you can see that it's empty, actually it appears to be empty, it's not in fact empty. If we come to the command line, I can use the UNIX ls command to list what's in that directory, you can see that that's empty, on Windows that would be the dir command. I can pass in a special option here which is -la, and that will show me the hidden dot files as well, and that's any file that has a dot in front of it is normally going to be hidden.

So .git is a directory that is created by that initialize command. And this directory is a directory where Git stores all of its tracking information. Now that's all of its tracking information, it doesn't matter how deep down in other folders that we'v...

Understanding where Git files are stored
Video duration: 2m 34s 6h 25m Beginner

Viewers:

Understanding where Git files are stored provides you with in-depth training on Developer. Taught by Kevin Skoglund as part of the Git Essential Training

Subject:
Developer
Software:
Git GitHub
Author:
please wait ...