Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AppsWorld Europe 2013 - Git & GitHub for Ninjas

Ben Straub
October 23, 2013

AppsWorld Europe 2013 - Git & GitHub for Ninjas

Ben Straub

October 23, 2013
Tweet

More Decks by Ben Straub

Other Decks in Programming

Transcript

  1. $ git cat-file -t d7abd6 blob $ git cat-file -p

    d7abd6 <!DOCTYPE html> <!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]--> <!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]--> <!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html lang="en"><!--<![endif]--> <head> <meta charset="utf-8"> <title>{% if page.title %}{{ page.title }} - {% endif %}{{ si Blob
  2. $ git cat-file -t 8f5b65 tree $ git cat-file -p

    8f5b65 100644 blob 08b8e3400a81a79aeb42878171449b773ab493c0 after_foot 100644 blob 11517b315de6d7bc7550cc74ae413f1e6dafce19 archive_po 100644 blob 8ad5afd4581caa7458658325aeec9f8de875b988 article.ht 040000 tree 5c2166adaa57c909182a45b995dfb750c22c8810 asides 040000 tree 52deb7c58d46aa09208c0b863fbecee81a2e3dad custom 100644 blob eb308779fa09eadd8575b1acea2801f16ef1d839 disqus.htm 100644 blob 74f91307278c092bca1e862337cb8d2b1ac14d94 facebook_l 100644 blob 3a8c7687474e513b196b50f5634c6decd14ed484 footer.htm Tree
  3. $ git cat-file -t e365b187 commit $ git cat-file -p

    e365b187 tree 58c796e7717809c2ca2217fc5424fdebdbc121b1 parent d4291dfddfae86cfacec789133861098cebc67d4 author Ben Straub <[email protected]> 1380719530 -0700 committer Ben Straub <[email protected]> 1380719530 -0700 Fix typo, remove false statement Commit
  4. $ git cat-file -t 849a5e34a tag $ git cat-file -p

    849a5e34a object a65fedf39aefe402d3bb6e24df4d4f5fe4547750 type commit tag hard_tag tagger Ben Straub <[email protected]> Fri May 11 11:47:58 201 Tag on tag Tag Annotation
  5. Symbolic Refs • branch -> commit • HEAD -> branch

    -> commit • tag -> commit • tag -> annotation -> commit
  6. Symbolic Refs • branch -> commit • HEAD -> branch

    -> commit • tag -> commit • tag -> annotation -> commit • tag -> blob
  7. Symbolic Refs • branch -> commit • HEAD -> branch

    -> commit • tag -> commit • tag -> annotation -> commit • tag -> blob • HEAD -> branch -> tag -> annotation1 -> annotation2 -> blob
  8. Symbolic Refs • branch -> commit • HEAD -> branch

    -> commit • tag -> commit • tag -> annotation -> commit • tag -> blob • HEAD -> branch -> tag -> annotation1 -> annotation2 -> blob • WAT