idea中修改git提交代码的用户名

修改全局用户名和邮箱地址:

git config --global user.name "username"

git config --global user.email "email"
查看git用户名和邮箱地址命令:

git config user.name

git config user.email

原文地址:https://www.cnblogs.com/ZZS-DYL/p/14839927.html