Skip to content

Commit

Permalink
content/configuration: --show-origin for config --list to show insides
Browse files Browse the repository at this point in the history
- Add `-show-origin` so that people can see where things are defined
  (makes it clear where one can change it and this isn't magic)
  • Loading branch information
rkdarst committed Mar 10, 2024
1 parent e68f07f commit bf6321d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions content/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ These configuration settings are saved in a file called `.gitconfig` in your
home directory. If this file exists, editors like VS Code will use this
configuration.

If you want to see your configuration settings, you can use the command:
If you want to see your configuration settings, you can use the
command (`--show-origin` means it shows the file *where* each setting
is defined):
```console
$ git config --list
$ git config --list --show-origin
```


Expand Down

0 comments on commit bf6321d

Please sign in to comment.