I did not have the global user.name and user.email not set and hit the
commit first.

I am now trying to amend the username with the below command now
git commit --amend --author=ats@XXXXX

I have tried above with both the old use.email and new user.email
but I am getting the error message like the following:

fatal: No existing author found with 'ats@XXXXXXX'

Could you please advise?

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to