I'm new to web development and GitHub. When I commit any changes, these changes are reflected on my GitHub repo under "unknown (author)". How do I change this to reflect my name/email address?
Thanks.
The git commit --amend --reset-author --no-edit command is especially useful if you created commits with the wrong author information, then set the correct author after-the-fact via git config .
$ git config --global user.name "Scott Chacon" $ git config --global user.email "[email protected]"
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