1 month ago
23 lines658 B
Lesson 3: Branches
Branches comes up in almost every real shell project. We start with the why, then write code together.
Read the full lesson: https://glibcode.net/courses/git-github/lessons/3
Files
commands.sh: creating, switching and listing branches
Tip:
history | grep sshfinds that command you typed last week.
Tip:
set -euo pipefailat the top of a script stops it at the first error.
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.