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

Github Essentials

Github Essentials

Slides for Github Essentials course on Skillshare

Fabio Cortés

November 24, 2017
Tweet

More Decks by Fabio Cortés

Other Decks in Technology

Transcript

  1. Centralized VCS Central vcs server Computer A Version database Checkout

    file Computer B Checkout file version 1 version 2 version 3
  2. Distributed VCS Server Computer version 1 Version database version 1

    version 1 Computer B version 1 Version database version 1 version 1 file Computer A version 1 Version database version 1 version 1 file
  3. Speed Simple design Strong support for non-linear development Fully distributed

    Able to handle large projects like the Linux kernel efficiently Git basics
  4. Snapshots, not diferences... Checking over times version 1 version 2

    version 3 version 4 version 5 C1 A B C A1 A1 A2 A2 B B B1 B2 C2 C2 C3
  5. Git workflow Local operations working directory staging area git directory

    (repository) Checkout the project Stage files Commit
  6. 1. You modify files in your working tree Git workflow

    2. You selectively stage just those changes you want to be part of your next commit, which adds only those changes to the staging area 3. You do a commit, which takes the files as they are in the staging area and stores that snapshot permanently to your Git directory