1、查看配置
|
1 2 3 4 5 6 |
//查看所有配置 git config -l //查看系统配置 git config --system --list //查看用户自己配置 git config --global --list |

系统文件配置所在位置:

2、配置 用户名与邮箱(用户标识必须)
配置命令
|
1 2 3 4 |
//配置用户名 git config --global user.name "obgeName" //配置邮箱 git config --global user.email "824307555@qq.com" |

用户自己配置所在位置:

from:https://www.cnblogs.com/obge/p/14212013.html