git配置用户名和邮箱
Willem Zhang Lv5

查看用户名和密码

1
2
git config user.name
git config user.email

设置用户名

1
git config --global user.name "username"

设置邮箱

1
2
# 不加双引号
git config --global user.email useremail@qq.com
  • Post title:git配置用户名和邮箱
  • Post author:Willem Zhang
  • Create time:2021-05-08 19:26:44
  • Post link:https://ataraxia.top/2021/05/08/git配置用户名和邮箱/
  • Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.
 Comments