Configuration targets

In this section, we will look at the different layers that can be configured. The layers are as follows:

  • SYSTEM: This layer is system-wide and can be found in /etc/gitconfig
  • GLOBAL: This layer is global for the user and can be found in ~/.gitconfig
  • LOCAL: This layer is local to the current repository and can be found in .git/config

Get Git Version Control Cookbook 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.