Skip to content
Mark Tse edited this page Jul 28, 2020 · 11 revisions

This wiki contains the commands and other details used for If You Liked It Then You Should Have Git Committed It. To get started, clone the repo and read on!

Goal

Demonstrate that it is very hard to lose your code changes once you create a commit with them. By following these two steps, you can experiment with Git's many features without fear of losing your changes:

  • Optional, but recommended: create a branch (git branch)
  • Commit the changes (git commit)

I will be using several aliases for this presentation. Please see .gitconfig for a list of aliases that might be referenced.

Demos

I recommend going through the demos in the following order:

Clone this wiki locally