Users can perform any operations with this local repository. It acts as mirroring of the complete remote repository. git/refs/heads/" directory.Ĭlone operation creates the local instance of the repository. The heads of the branches are stored in ". Whenever you make a commit, HEAD is updated with the latest commit. HEAD is a pointer, which always points to the latest commit in the branch. It stores references to blobs and trees which are also named as SHA1 hash of the tree object. ![]() ![]() It also holds blobs as well as other sub-directories. Tree is an object as binary file, which represents a directory. ![]() It is a binary file and in Git database, it is named as SHA1 hash of that file. Each version of a file is represented by blob, which holds the file data but doesn’t contain any metadata. Here is a list of some common terms used in Git, which you must know:īlob stands for Binary Large Object.
0 Comments
Leave a Reply. |