Search History with grep, log -S and log -G
Prepare a post-mortem: when did the connection cap appear, when did a flag die, how often did the log format change, and what did the 1.0.0 release actually contain?
Project labadvanced~25 minPro
What you'll do
- ✓Search a past release with git grep <rev>
- ✓Find when a string appeared or disappeared with log -S
- ✓Find every change to a matching line with log -G
- ✓Explain why -S misses value-only changes
Lab outline
- 01git grep
- 02log -S
- 03log -G
Before you start
- Reading history (git-07)
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.