Configuration
Set up your identity
Section titled “Set up your identity”git config --global user.name "Your Name"git config --global user.email "your@email.com"
Required so that each commit is associated with your identity.
Verify configuration
Section titled “Verify configuration”git config --list
Best practices
Section titled “Best practices”- Use
--global
to configure system-wide settings, or omit it for a specific project. - Regularly check your configuration with
git config --list
.