Chapter 7: Unlocking Git’s Full Potential
So far in this book, we’ve covered the fundamentals of Git and some of its advanced commands. In this chapter, we’ll look at more of these advanced commands.
Advanced Use of log
We saw earlier that you can view the history of your project in Git using the log
command. However, in busy repositories that handle hundreds to thousands of commits each day, a long list of commits isn’t going to be useful unless you know how to navigate through them. The manual entry for the log
command shows the different options that can be postfixed to this command to get a desired output. We’ll look at a few tweaks to the log
command, which could prove useful in such situations.
Since our dummy project doesn’t have a considerable ...
Get Jump Start Git, 2nd Edition 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.