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

git from the ground up

git from the ground up

A work in progress git introduction. A lot of supplementary demos are done in terminal so this might not make much sense. Maybe I'll do a video version.

Tyler Ball

June 07, 2012
Tweet

Other Decks in Programming

Transcript

  1. gitcHJUc noun Brit., informal an unpleasant or contemptible person. ORIGIN

    1940s: variant of the noun get (see sense 3). What is git? git is also a version control system created by Linus Torvalds for developing the Linux Kernel. He once said that he sees “Subversion as being the most pointless project ever started.”
  2. Why should I use git? • Git is fast: Almost

    everything git does, it does it local. • Git is small: SVN repos can be huge. • Git encourages good coding: local means quick, frequent commits, easy branching for features, etc. • Git is distributed: Everybody has their own copy of all the code. A server can be used, but is not necessary. • Git is popular. • Git is secure: Public encrypted keys instead of plaintext passwords See more: https://office.trapeze.com/wiki/developers/research/moving-to-git/ (on one slide)
  3. • All clients keep a full copy of the repository

    and its history. • git only stores the differences between changes, not the whole tree at each change like svn
  4. More Learning • Read the book Pro Git, available for

    free on the git website: http://git-scm.com/book • Install git-achievements and learn git interactively: https://github.com/icefox/git-achievements • Watch this video where a dude uses Tinkertoy to explain the internals of git: http://blip.tv/open- source-developers-conference/git-for-ages-4-and- up-4460524