git/config

Configure Git

Configure user information

git
config
user

Command

git config

Explanation

git config is used to configure the Git repository. It configures the Git repository.

Examples

Set global username

git config --global user.name "Your Name"

Set global email

git config --global user.email "email@example.com"

View all configurations

git config --list