Skip to content

Instantly share code, notes, and snippets.

@joannakl
Forked from peterhurford/git-101-exercises.md
Created February 11, 2018 04:08
Show Gist options
  • Save joannakl/006b80518e79982693ea352c362ccce4 to your computer and use it in GitHub Desktop.
Save joannakl/006b80518e79982693ea352c362ccce4 to your computer and use it in GitHub Desktop.
Git 101, with Exercises

Git 101, with Exercises

Git is the key tool we use to allow multiple people to work on the same code base. Git takes care of merging everyone's contributions smoothly. Hence, learning how to use Git is critical to contributing to open source.

Exercises

Exercise 1: Go through the Try Git Guide

Exercise 2: Learn How to file a github issue.

Exercise 3: Watch these videos:

Exercise 4: Skim Hadley Wickham's guide to git for an additional refernce.

Exercise 5: Create a repo on GitHub that contains a markdown file that answers these questions:

  • How do you see the files changed within each commit from git log?
  • How do you see the contents of what changed within each file from the git log?
  • What does HEAD refer to in the context of git? (Not to be confused with the "HEAD<<<<" one observes within merge conflict)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment