Syllabus

  1. 01Git Basics: The Everyday WorkflowLearn what version control is for, then follow a change through Git's three areas with init, status, add, diff, commit and log.8 lessons
    1. 01Why Version Control?
    2. 02Setting Up and Starting a Repository
    3. 03The Three Areas and git add
    4. 04Seeing Changes with git diff
    5. 05Saving Snapshots with git commit
    6. 06Browsing History with git log
    7. 07Review: The Basic Workflow
    8. 08Project: The Ferry Notice Board
  2. 02Backtracking: Undoing ChangesEvery mistake in Git has an undo. Inspect the HEAD commit, discard and unstage changes, move back to an earlier commit, reverse or amend commits, and set work aside with stash.7 lessons
    1. 01HEAD and git show
    2. 02Discarding and Unstaging Changes
    3. 03Going Back with git reset
    4. 04Reversing Commits with revert, Fixing Them with amend
    5. 05Setting Work Aside with git stash
    6. 06Review: Picking the Right Undo
    7. 07Project: Rescue the Ferry Notices