Local Vs Global Config
To manage local and global configuration settings, you can use the git config command with the --local and --global options.
- Local configuration: Run
git config --local [key] [value]
to set a local configuration setting for the current repository. - Global configuration: Use
git config --global [key] [value]
to set a global configuration setting that applies to all repositories on your system.