2.3 notes

This commit is contained in:
mhrooz 2024-08-15 22:19:41 +02:00
parent 1fb3a5869a
commit 3d733c9740
2 changed files with 8 additions and 0 deletions

6
notes/2.3-git_object.md Normal file
View File

@ -0,0 +1,6 @@
### 2.3.1
git来说每次提交都创建一个commit对象,commit对象下有两个属性`tree` `parent`,用ID来表示,给定ID就能查看对象的类型是哪个,用`git cat-file -t <id>`来查看对象属性类型
`commit`
`tree`对象下面对每个文件创建一个blob对象,blob对象里存的就是文件内容

2
notes/2.4-git_reset.md Normal file
View File

@ -0,0 +1,2 @@