git设置用户名和邮箱

用git config --global user.name "your name"命令来设置你的用户名

用git config --global user.email "your email"命令来设置你的邮箱

然后用git config user.name/email来查询是否设置成功

原文地址:https://www.cnblogs.com/lal520/p/10732628.html