📚
CC10030 min

Day 9

Commits and History

Let's write some history!

Today's Lesson

Every commit tells a story. Good commit messages make that story readable. You'll thank yourself later when you need to understand what changed and why.

Today's Tasks

  1. 1Make a change to one of your files
  2. 2Create a commit with a descriptive message
  3. 3View your commit history
  4. 4Understand the log

Prompt to Use

I want to update my goals.md file - help me make a meaningful change. Then commit it with a good message. After that, show me my commit history and explain what I'm seeing.

Expected Outcome

Multiple commits with a readable history.

New Terms

  • Commit Message
  • Git Log
  • History

Pro Tip

Write commit messages like you're telling future-you what you did. "Fixed the thing" won't help you in 3 months.

Coming Tomorrow

We'll push our project to GitHub.

P.S. Good commit messages are a gift to your future self.