GitHub uses your commit email address to associate commits with your account on GitHub.com. You can choose the email address that will be associated with the commits you push from the command line as well as web-based Git operations you make.
Setting your email address for every repository on your computer
Open Git Bash.
Set an email address in Git. You can use your GitHub-provided noreply email address or any email address.
git config --global user.email "YOUR_EMAIL"
Confirm that you have set the email address correctly in Git:
概述
GitHub uses your commit email address to associate commits with your account on GitHub.com. You can choose the email address that will be associated with the commits you push from the command line as well as web-based Git operations you make.
Setting your email address for every repository on your computer
Setting your email address for a single repository
查看
提交时变更