其他分享
首页 > 其他分享> > git 查看修改用户名,密码

git 查看修改用户名,密码

作者:互联网

查看用户名和邮箱地址:

  1.   //查看用户名
  2.   git config user.name
  3.   //查看用户邮箱地址
  4.   git config user.email

修改用户地址和邮箱:

  1.   //修改用户名称
  2.   git config --global user.name "username"
  3.   //修改邮箱地址
  4.   git config --global user.email "email@xxx.com"

标签:git,邮箱地址,密码,用户名,user,config,email
来源: https://www.cnblogs.com/lxl57610/p/14542989.html