There are configuration targets in the core Git system. In this section, we'll take a closer look at a few of them that might be useful in your daily work.
We'll look at the following three different configuration areas:
Rebase and merge setup
Expiry of objects
In this exercise, we'll just set a few configurations. We'll use the data model repository from Chapter 1, Navigating Git:
$ cd data-model
Let's take a closer look at the previously mentioned configuration areas.
By default, when performing
git pull, a merge commit will be created if the history of the local branch has diverged from the remote one. However, to avoid all these merge commits, a repository can be configured so it will default to rebase instead of merging when doing
git pull. Several configuration targets related to the option exist as follows: