git configuration options

There are three levels of settings:

  • System
  • Global
  • Repository

Precedence: Repository (highest) > Global > System (lowest)

You can use the following command to list all the config options along with their source

git config --list --show-origin | cat | code -

| code - is used to pipe the output to the current VS Code window (Ref)


Written on September 28, 2022