mdawar.dev

A blog about programming, Web development, Open Source, Linux and DevOps.

Git Check Config Settings

Check a Single Setting

bash
$git config <key>

List All the Settings

bash
$git config --list

List the Settings and Their Origin

List all the settings and show where they’re set:

bash
$git config --list --show-origin

List the Settings and Their Origin and Scope

List all the settings with their origin and scope (eg: global, local, system):

bash
$git config --list --show-origin --show-scope

More info: git config docs