Presentation
12
Git plumbing Eimantas Vaičiūnas
-
Upload
kaunas-java-user-group -
Category
Technology
-
view
91 -
download
0
Transcript of Presentation
Git plumbingEimantas Vaičiūnas
Why C# rocks!
toc: git objects
blob
• Content
• Not a file!!!
• Not necessarily part of code-base
• Manipulated with hash-object/cat-file;
blob demo
tree
• References blobs as files w/ permissions;
• References trees as directories;
• Canreference blobs and trees as multiple files;
• Manipulated with update-index, write-tree && read-tree;
tree demo
commit
• points to a tree
• can have parents (mostly 1, sometimes > 1)
• contains committer / author data (name, email)
commit demo
tag• points to commit;
• points to tree;
• points to blob;
• points to anything;
• lightweight vs annotated
tag demo
thanks!