git

$whoami

git

that git

yep...that fu$$ing git

  1. Like the Linux kernel, Git is free software distributed under the terms of the GNU General Public License version 2.

git != github

git

==

distributed version control systems

github

==

git hosting system

gitweb

 

y u git?

demo

git clone 

git status

git add

git commit -m

git push

git log

demo

git checkout

git branch

.gitignore

content-addressable filesystem

just a big key-value store

think about a hashmap

echo 'test content' | git hash-object -w --stdin                      
         

          d670460b4b4aece5915caf5c68d12f560a9fe3e4
git cat-file -p d670460b4b4aece5915caf5c68d12f560a9fe3e4
git cat-file -t d670460b4b4aece5915caf5c68d12f560a9fe3e4
git write-tree
echo 'first commit' | git commit-tree d8329f
git cat-file -p fdf4fc3

git

By Vlad Temian