/git-101

Slides for a git crash course

Primary LanguageMakefileMIT LicenseMIT

git-101

This repository contains slides presenting git and github workflow. They were made in markdown using marp.

The PDF is available on the release page or here.

Here you have some of the slides content for quick reference:

Git workflow

Git general workflow

I am lost, what can I do?

  • git status: to see what's going on
  • git help ...: to have detailed help pages
  • git reset ...: to go back in time
  • git diff ...: to see the changes made
  • git log ...: to view the history, in particular:
  • git log --reflog --oneline --graph: to see the entire repository tree
  • read error messages
  • google(!)

Useful links