Configuration
suggest changeSyntax
git config [<file-option>] name [value]# one of the more common use cases of git config
| Parameter | Details |
|---|---|
| --system | Edits the system-wide configuration file, which is used for every user (on Linux, this file is located at $(prefix)/etc/gitconfig) |
| --global | Edits the global configuration file, which is used for every repository you work on (on Linux, this file is located at ~/.gitconfig |
| --local | Edits the respository-specific configuration file, which is located at .git/config in your repository; this is the default setting |
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents