Git Config

Learn about Git Config in Git

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

Setting Up Git

After installation, configure your Git identity:

git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"

You can check your configuration with:

git config --list

Free Resources

Free Resources