We’ll only be covering the most common and most useful here.
In addition, each of these has subsettings you can use to set specific colors for parts of the output, if you want to override each color.
For example, to set the meta information in your diff output to blue foreground, black background, and bold text, you can run Although Git has an internal implementation of diff, which is what we’ve been showing in this book, you can set up an external tool instead.
You can also set up a graphical merge-conflict-resolution tool instead of having to resolve conflicts manually.
So far, we’ve covered the basics of how Git works and how to use it, and we’ve introduced a number of tools that Git provides to help you use it easily and efficiently.
In this chapter, we’ll see how you can make Git operate in a more customized fashion, by introducing several important configuration settings and the hooks system.
With these tools, it’s easy to get Git to work exactly the way you, your company, or your group needs it to.As you briefly saw in Chapter 1, you can specify Git configuration settings with the Now you’ll learn a few of the more interesting options that you can set in this manner to customize your Git usage.First, a quick review: Git uses a series of configuration files to determine non-default behavior that you may want.The first place Git looks for these values is in an ) of whatever repository you’re currently using.These values are specific to that single repository.Each of these “levels” (system, global, local) overwrites values in the previous level, so values in configuration options are supported, but a large fraction of them are only useful in certain edge cases.