Summary
This chapter showed us the various ways of exploring project history: selecting and filtering revisions to display, searching through various parts of commit-related data, and formatting the output.
You have learned how to find all the revisions that were made by a given developer, how to search through the commit message and the changes made by the commit, and how to narrow the search to a specific range of time.
We can even try to find bugs in the code by exploring the history: finding when a function was deleted from the code with a pickaxe search, examining a file for how its code came to be and who wrote it with git blame
, and utilizing semi-automatic or automatic search through the project history to find which version introduced a regression with git bisect
.
When examining a revision, we can select the format in which the information is shown, even to the point of user-defined formats. There are various ways of summarizing the information, from the statistics...