Searching Through the Repository
After selecting the parts of the project history that you want to search, the next task is to extract the information you want from selected commits. You can limit your search according to the revision metadata, such as the author of the commit, the date that the change was created, or the contents of the commit message. You can look at the changes themselves, or you may be interested in how a given file or subsystem evolved. With access to the project history, you can find who wrote a given section of the code or which commit introduced a regression (first buggy commit).
Another important skill is to format Git output so that it is easy to find the information you want. This task is made possible by various predefined pretty git log
output formats and the ability to define and compose one’s own output format.
Here is the list of topics we will cover in this chapter:
- Limiting the history and history simplification
- Searching...