All Git Object Types: Blob, Tree, Commit And Tag
来源:互联网 发布:50知天命是什么意思 编辑:程序博客网 时间:2024/05/16 18:43
All Git Object Types: Blob, Tree, Commit And Tag
The complete list of git object types is here:
- blob
- tree
- commit
- tag
Git blob object
The git “blob” type is just a bunch of bytes that could be anything, like a text file, source code, or a picture, etc.
Learn more about the git blob object.
Git tree object
A git tree is like a filesystem directory. A git tree can point to, or include:
- Git “blob” objects (similar to a filesystem directory includes filesystem files).
- Other git trees (similar to a filesystem directory can have subdirectories).
Learn more about the git tree object.
Git commit object
A git commit object includes:
- Information about who commited (made) the change/check-in/commit. For example, it stores the name and email address.
- A pointer to the git tree object that represents the git repository when the commit was done
- The parent commit to this commit (so we can easily find out the situation at the previous commit).
Learn more about the git commit object.
Git tag object
A git tag object points to any git commit object. A git tag can be used to refer to a specific tree, rather than having to
remember or use the hash of the tree.
Learn more about the git tag object.
Next: The Git Object Model: Starting with the “blob” object
Previous: Why Use Git Instead of a Legacy Version Control System?
Related:
- All Git Object Types: Blob, Tree, Commit And Tag
- git中的四种对象 tree blob commit tag
- GIT第五讲BLOB、Commit和Tree组件
- GIT第五讲 BLOB、Commit和Tree组件
- git commit-ish and tree-ish table
- Git Object: Commit
- Git Object: Tag
- git add and commit
- git为某次commit打上tag
- Git对象类型(Object types)
- Git Object: Tree
- Oracle JAVA SORCE and BLOB OBJECT
- [小技巧] git 取得两个 tag 之间的 commit
- NFC Tag Types
- Foundations of Object-Oriented Languages: Types and Semantics
- The Git Object Model: Starting With The "Blob"
- git根据commit生成patch And Git的Patch功能
- Saving/Retreving BLOB object in Spring3MVC and Hibernate
- 关于Inline hook check的一些想法与问题
- oracle中的Schema
- aes padding method
- android 源码——packages/apps/Music学习一
- iOS 视图控制器(UIViewController)剖析
- All Git Object Types: Blob, Tree, Commit And Tag
- 让你的C程序更有效率的10种方法
- CPen类
- Android手机: 软件静默安装
- iOS: 自定义navigation bar
- Iphone文件读写操作
- 软件测试转型之路
- YouGov:英国智能机用户即将过半 黑莓诺基亚不容乐观
- Qt 的一些心得