Refresh
parent
786e180c6a
commit
dbce3db5cf
|
@ -1,21 +0,0 @@
|
|||
# Git Objects
|
||||
|
||||
Git Objects are Blob Object, Tree Object, Commit Object.
|
||||
|
||||
All objects are stores at `.git/objects` with unique key (hash generated).
|
||||
|
||||
**Blob Object** is file content.
|
||||
|
||||
**Tree Object** is filename or directory.
|
||||
|
||||
![Simple version of the Git data model](https://git-scm.com/book/en/v2/images/data-model-1.png)
|
||||
|
||||
**Commit Object** contains top-level tree (snapshot at the time), parent commits, author and commit message.
|
||||
|
||||
Branch is pointer, which point to commit we want.
|
||||
|
||||
## References
|
||||
|
||||
- [Git Internals - Git Objects](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects)
|
||||
|
||||
- [Commits are snapshots, not diffs](https://github.blog/2020-12-17-commits-are-snapshots-not-diffs/)
|
|
@ -1,4 +0,0 @@
|
|||
# My recap of "The design of Everyday Things"
|
||||
|
||||
When we interact with something, we need to figure out how it works, how to control it.
|
||||
This is **discovering**.
|
|
@ -1,3 +1,3 @@
|
|||
# Blogs
|
||||
# posts-go
|
||||
|
||||
When i'm writing things longer than my usual TIL, this repo is perfect place to store them. Not a full blogs anyway :)
|
||||
Write markdown, then convert to html.
|
||||
|
|
Loading…
Reference in New Issue