Commands.app

git config

Configuration

Get and set repository or global options

Options & Flags
Available options for this command
--global

Set configuration globally

--list

List all configuration

Examples
Common usage examples

Set global username

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

Set global email

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

List all configuration

git config --list