From 4bc6af6accb77c8ed4f9d26fb554c2c74f530975 Mon Sep 17 00:00:00 2001 From: AriESQ <19827230+AriESQ@users.noreply.github.com> Date: Mon, 15 Aug 2022 22:04:51 -0400 Subject: [PATCH] git-config: add --show-origin example (#8357) --- pages/common/git-config.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/git-config.md b/pages/common/git-config.md index 297851bd16..f3ceecb39b 100644 --- a/pages/common/git-config.md +++ b/pages/common/git-config.md @@ -12,9 +12,9 @@ `git config --list --global` -- List all configuration entries that have been defined either locally or globally: +- List only system configuration entries (stored in `/etc/gitconfig`), and show their file location: -`git config --list` +`git config --list --system --show-origin` - Get the value of a given configuration entry: