Track
Investigating
3 Lessons, then a Checkpoint of 2 Challenges.
Builds on Branching & Merging.
Lessons
Follow them in order, or play any Lesson once the Track is unlocked.
- Searching history
A project that's a few months old can have hundreds of commits. git log lists every one of them, newest first, and somewhere in that list is the one you're…
3 Challenges.
New commands:
git log -pgit log -Sgit log --authorgit log --
- Who changed this line
You're looking at a line in a file and wondering where it came from. Who wrote it? When? Was it on purpose? git log answers questions about commits. git blame…
3 Challenges.
New commands:
git blame
- Finding the bad commit
Something worked a month ago and doesn't work now. Thirty commits came in between, and any of them could be the one that broke it. Searching helps when you…
3 Challenges.
New commands:
git bisect startgit bisect goodgit bisect badgit bisect reset
Checkpoint
The Track ends with a Checkpoint of 2 Challenges that use only this Track's commands and those of the Tracks it builds on. Passing the Checkpoint completes the Track, even before you have played every Lesson.