MacOS配置git用户名和邮箱

1.设置用户名

git config --global user.name "username"

2.设置邮箱

git config --global user.email [email protected] 

3.查看用户名

git config user.name

4.查看邮箱

git config user.email

5.查看其他配置

git config --list 

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/m0_38068876/article/details/115350032
今日推荐