A second commit, and git log
This repo isn't empty this time - readme.txt was already committed before
you got here (that's the edit → add → commit loop in action; you just
didn't have to type it). Sitting in the working directory, untracked, is a new
file: notes.txt.
Your task: stage and commit notes.txt with the exact message
Add notes.txt, then run git log --oneline to see both commits in your
history.
You'll practice:
- Committing a second time in a repo that already has history
git log --oneline - a compact view of your commit history, newest first
Related reading: Your First Repository - init, add, commit, log →