This link has been bookmarked by 6 people . It was first bookmarked on 06 Apr 2008, by xinran zhou.
-
02 Jun 08
-
06 Apr 08
-
A tree can refer to one or more "blob" objects, each corresponding to a file. In addition, a tree can also refer to other tree objects
-
A "blob" is just file data
-
the contents of these files is just the compressed data plus a header identifying their length and their type
-
a blob, a tree, a commit, or a tag
-
The "tree" object here refers to the new state of the tree:
-
Besides blobs, trees, and commits, the only remaining type of object is a "tag"
-
and refer to "parent"
-
refer to "tree" objects
-
represent the state of a single directory
-
"blob" objects contain file data without any other structure.
-
that lots of commands take a tree as an argument.
-
The thing that it's comparing against is actually the index file
-
.git/index
-
between the working directory and the last commit
-
between the index and the last commit
-
git diff --cached
-
-a option to commit tells it to first update the index with all changes in the working tree
-
by default "git commit" uses the index to create the commit, not the working tree
-
The effect of the "git add" was to add one entry to the index file
-
-
15 Feb 08
viniciusjlThe goal of this tutorial is to introduce two fundamental pieces of git's architecture—the object database and the index file—and to provide the reader with everything necessary to understand the rest of the git documentation.
-
08 Jan 08
-
14 Dec 07
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.