Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Git plumbing 
Eimantas 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 m...
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!
Upcoming SlideShare
Loading in …5
×

Presentation

431 views

Published on

Git Plumbing by Eimantas Vaičiūnas
Git is stupid content tracker yet is a CVS of choice for many developers. Learn how Git stores your code, and what stupid things does to it that make Git look so smart.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Presentation

  1. 1. Git plumbing Eimantas Vaičiūnas
  2. 2. Why C# rocks!
  3. 3. toc: git objects
  4. 4. blob • Content • Not a file!!! • Not necessarily part of code-base • Manipulated with hash-object/cat-file;
  5. 5. blob demo
  6. 6. 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;
  7. 7. tree demo
  8. 8. commit • points to a tree • can have parents (mostly 1, sometimes > 1) • contains committer / author data (name, email)
  9. 9. commit demo
  10. 10. tag • points to commit; • points to tree; • points to blob; • points to anything; • lightweight vs annotated
  11. 11. tag demo
  12. 12. thanks!

×