I check this question about commit under another author git commit as different user without email / or only email
How can I also push to remote repo under another login. I do:
git commit --author="notMe" -m "whatever"
git push https://<remote-repo>
Username for 'https://github.com': notMe
Password for 'https://[email protected]': <notMe's password>
But as result I got this:
How can I commit & push like another author?
UPD: I tried git config user.name "notMe"
and result is:
It's almost what I want but why my avatar is still here?
You need to specify both the name and the email of the author of a commit to entirely vanish traces of your current account.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With