windows系统下git配置用户名和邮箱
找到你的.git的目录下,右键空白位置找到“Git Bash”呼出命令行:
输入:git config user.name "name" ---设置用户名
git config user.name ---验证用户名
git config user.email 邮箱地址 ---设置邮箱地址
git config user.email ---验证邮箱
在../.git/config文件中就会多出:
[user]
name = liangxincheng
email = [email protected]
这么一段。找到你的.git的目录下,右键空白位置找到“Git Bash”呼出命令行:
输入:git config user.name "name" ---设置用户名
git config user.name ---验证用户名
git config user.email 邮箱地址 ---设置邮箱地址
git config user.email ---验证邮箱
在../.git/config文件中就会多出:
[user]
name = liangxincheng
email = [email protected]
这么一段。