找到你的.git的目录下,右键空白位置找到“Git Bash”呼出命令行:

windows系统下git配置用户名和邮箱

输入: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”呼出命令行:

windows系统下git配置用户名和邮箱

输入: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]
这么一段。

相关文章:

  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2021-04-18
  • 2022-12-23
  • 2021-07-28
  • 2022-02-08
  • 2021-09-01
猜你喜欢
  • 2021-12-28
  • 2021-07-29
  • 2021-08-19
  • 2022-12-23
  • 2022-02-27
  • 2022-12-23
相关资源
相似解决方案