“*** Please tell me who you are.” when using SSH key

Run
git config –global user.email “[email protected]
git config –global user.name “Your Name”

Note: You are authenticated successfully but git needs your username & email to do a commit.

It is not related to authentication. Your username/email can be different from your GitHub Account.

You need to run the following commands for a single time.

$ git config --global user.email "[email protected]" 
$ git config --global user.name "Your Name"

$ git config --list    # see if the 'name' & 'email' are set correctly

This user.name & user.email will be set globally in ~/.gitconfig file.

$ cat ~/.gitconfig     # see global config file

Leave a Comment