Reputation: 7524
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
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