首页 > 其他分享 >git配置用户名和邮箱

git配置用户名和邮箱

时间:2022-08-13 13:33:05浏览次数:64  
标签:git -- 用户名 user 邮箱 config

1、本地git客户端配置用户名和邮箱地址的作用:用户每次用git 提交代码时都会记录用户名和邮箱。

2、git设置用户名和邮箱的命令

git config --global user.name "username"
git config --global user.email [email protected] 


3 、 查看用户名和密码
git config user.name
git config user.email


4、 查看其他配置信息(git设置列表)
git config --list  

标签:git,--,用户名,user,邮箱,config
From: https://www.cnblogs.com/szeto/p/16582866.html

相关文章