README.md
Lesson 7: Undoing things
This lesson covers undoing things. You'll read a short explanation, try three small exercises and finish with a quiz.
Read the full lesson: https://glibcode.net/courses/git-github/lessons/7
Files
commands.sh: restore, reset and revert
Tip: Quote your variables:
"$file"survives spaces in names,$filedoesn't.
Run it
# type the commands from commands.sh one by one; don't run it as a script
Exercises
See exercises.md. Ask in the forum once you've tried.