In this short article we would like to explain the difference between
git config --system and
git config --global.
--system sets/gets configurations for all operating system,
--global sets/gets configurations for logged in user account in the operating system.
From git-config documentation:
|For writing options: write to system-wide |
For writing options: write to global
For reading options: read only from global
- https://git-scm.com/docs/git-config - official git-config documentation