📚
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
- 1Make a change to one of your files
- 2Create a commit with a descriptive message
- 3View your commit history
- 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.
Your Study Progress
8%
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Day 9 of 100
Today's Tasks
0/4