Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ git init
- $ dd if=/dev/urandom of=big-file-a bs=1M count=1
- $ cp big-file-a big-file-b
- $ ls -l
- -rw-r--r-- 1 user group 1.0M 29. Apr 19:07 big-file-a
- -rw-r--r-- 1 user group 1.0M 29. Apr 19:07 big-file-b
- $ git add big-file-*
- $ git commit -m test-commit
- $ git log
- commit 757dd408ab445b18be87f388180175f39a56cb1e
- ...
- $ git cat-file -p 757dd
- tree fa9bd01b5a3221f2ea972ce97ad82473868d6d86
- ...
- $ git cat-file -p fa9bd
- 100644 blob ce178896ee0b8608c463beb41ca1110bc9545865 big-file-a
- 100644 blob ce178896ee0b8608c463beb41ca1110bc9545865 big-file-b
- $ du -hs .git/objects/
- 1.1M .git/objects/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement