Git -- -- 配置与查看( 用户名和邮箱)

1、查看配置

//查看所有配置
git config -l
//查看系统配置
git config --system --list
//查看用户自己配置
git config --global --list

 

 系统文件配置所在位置:

2、配置 用户名与邮箱(用户标识必须)

配置命令

//配置用户名
git config --global user.name  "obgeName"
//配置邮箱
git config --global user.email "824307555@qq.com"

用户自己配置所在位置:

 

posted on 2021-01-04 15:14  obge  阅读(10352)  评论(0编辑  收藏  举报