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

Git Workshop

Avatar for johnbenz johnbenz
August 16, 2013

Git Workshop

Support slides from my workshop at Code Oasis Ltd, Herzelyah

Avatar for johnbenz

johnbenz

August 16, 2013
Tweet

More Decks by johnbenz

Other Decks in Programming

Transcript

  1. What can we learn? • Each commit contains the entire

    project • Branches are cheap to use • If we delete a branch we don’t loose anything!!!
  2. • History with git log • Undoing things (reset, revert,

    reflog) • Branches • Tags • Remote
  3. @couac flow • Inspired from Github flow • Simple •

    Adapted to small/medium teams (20 persons in github)
  4. Team standards • PSR1 and PSR2 • Always one line

    at the end of the file • Endlines: • linux/mac: core.autocrlf = input • window: core.autocrlf = true
  5. Team Standards • Don’t merge every time you pull a

    branch... • Give useful comments to your commits • Fix bug • Name of the file