Mandroid
Mandroid

Reputation: 7524

User details not shown in 'git config' command

I run 'git config --list' command, but list doesn't contain user name and user mail-id.

'git config user.name' too returns nothing.

Upvotes: 0

Views: 1671

Answers (1)

VonC
VonC

Reputation: 1328152

Then simply define that with:

cd /path/to/repo
git config user.name myName
git config user.email myEmail

Or, if you want to define that for all repositories:

git config --global user.name myName
git config --global user.email myEmail

Upvotes: 2

Related Questions