After initting a repository , I commit once without configuring name and email .
and then I edit a file in repository and then commit again without configuring name and email.
and now I excute below commands to update name and email :
git config --global user.name "name"
git config --global user.email abc@d.com
git commit --amend -m "some information"
I use git gui to check the modified file , and find the committer is right my name and email . but the author still keep it was like my computer’s name@host . How can i let it right .
thanks in advance .
The nice solution is to use
--reset-author:Another possibility would be an amend with the
--authoroption:Resources: