Getting ready

Make sure you have gitk installed:

$ which gitk
/usr/local/bin/gitk

If nothing shows up, then gitk is not installed on your system, or at least is not available on your $PATH.

Change the directory to the Git-Version-Control-Cookbook-Second-Edition repository from the objects and DAG examples. Make sure the master branch is checked out and pointing to 13dcad:

$ git checkout master && git reset --hard 13dcad

Get Git Version Control Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.