- Version Control System, VCS
- content-addressable
- BLOB Tree commit
Key = sha1(file_header + file_content)
Value = zlib(file_content)
- benefit vs svn(or other traditional cvs)
- Author: Linus(version 1 two week, 2005)
Frequent use for everyone:
- add
- branch
- checkout
- clone
- commit
- diff
- fetch
- merge
- pull
- push
- log
- status
- blame
- rebase Forward-port local commits to the updated upstream head
- reset
- grep
- init
- mv
- rm
- show
- tag
git init --bare share.git
vim .gitignore
git add
git commit -m'First commit'
git push origin test:test