Skip to content

Home

Configure git user information

Configures user information for git.

git config [--global] user.email <email>
git config [--global] user.name <name>

# Examples
git config user.email "cool.duck@qua.ck"
git config user.name "Duck Quackers"
# Configures user for current repository

git config --global user.email "cool.duck@qua.ck"
git config --global user.name "Duck Quackers"
# Configures global git user

More like this

Start typing a keyphrase to see matching snippets.