Chapter 6Unlocking 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’ve seen 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 is not 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 ...

Get Jump Start Git now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.