I used git for the first time and I set my user name and user mail. The commands I used are below:
git config --global user.email "bob@example.com"
git config user.email "bob@example.com"
git config --global user.name "bob"
git config user.name "bob"
When I run git commit --author "bob"
, I got an error fatal: No existing author found with 'bob'
. How can I set user name and email?