I am trying to make some changes as another user, but I do not have a valid email address, the following command does not work for me:
git commit --author="john doe" -m "some fix" fatal: No existing author found with 'john doe'
I have the same problem when trying to commit using only email address
git commit --author="john@doe.com" -m "some fix" fatal: No existing author found with 'john@doe.com'
The git man pages for the commit command say that I can use
standard AU Thor <author@example.com> format
For the --author parameter.
Where is this format defined? What does A and U mean? how can i commit for another user only with a username or only with an email?
git commit
Willem D'Haeseleer Jul 20 '12 at 12:23 2012-07-20 12:23
source share