Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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)
@rast5070

This comment has been minimized.

Copy link

@rast5070 rast5070 commented Dec 21, 2020

Thank you for the information.

@Adrian19862

This comment has been minimized.

Copy link

@Adrian19862 Adrian19862 commented Mar 24, 2021

Thank you for the information.

@Umme123-max

This comment has been minimized.

Copy link

@Umme123-max Umme123-max commented Apr 1, 2021

Thank you for giving a detailed intro and all the information.

@john2895

This comment has been minimized.

Copy link

@john2895 john2895 commented Apr 1, 2021

Thank you for the information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment