- init
- status
- three statge thinking
- add
- git show --pretty
- git diff (difference between working and staging)
- git diff --staged (difference between staging and repository)
- git log
- git reset (remove from staged and put into working)
- git checkout master (gets a committed snapshot from master branch)
- -git checkout master^^ or master~2 ( to get specific versions) git remote (shows the fetch and and push) add :working -> staging commit :staging -> repository checkout :repository -> working
Data are stored in Blobs, Binary Large Object.
- Blob id are based on content, tree branch hold lower tree and blob ids. -Commits point to tree. l
Moving a file is considered a deletion and addition