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

Version Control With Git

Version Control With Git

This is my deck for @WebStammtischOL. It's an updated version of the 'An introduction to Git'-Talk. Images are taken from git-scm.com

Pascal Precht

May 31, 2012
Tweet

More Decks by Pascal Precht

Other Decks in Programming

Transcript

  1. What is Git? • VCS (Version Control System) • Open

    Source • Fully Distributed • Local • Fast!
  2. Working offline • Performing a diff • Viewing file history

    • Committing changes • Merging branches • Obtaining other revisions of a file • Switching branches
  3. Integrity • Content is check-summed before it is stored •

    SHA-1 Hash (40 hexadecimal characters)
  4. The Flow • init / clone • edit • add

    • status / diff • commit
  5. Getting a repo • git init • creates a new

    repository • git clone • clones an existing repository (via ssh, http, file, git ...)