设置全局的用户名和邮箱
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
设置当前项目的用户名和邮箱
git config user.name "Your Name"
git config user.email "your.email@example.com"
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
git config user.name "Your Name"
git config user.email "your.email@example.com"