Back to Developer Roadmap

git config

src/data/roadmaps/git-github/content/git-config@NMCWgzhhfUvFOMO5GbF_u.md

4.01.1 KB
Original Source

git config

The git config command is a convenience function that is used to set Git configuration values on a global or local project level. These configuration levels correspond to .gitconfig text files. Executing git config will modify a configuration text file.

The most basic use case for git config is to invoke it with a configuration name, which will display the set value at that name. Configuration names are dot delimited strings composed of a 'section' and a 'key' based on their hierarchy. For example: user.email

Visit the following resources to learn more: