天天看點

git指令:全局設定使用者名郵箱配置

1、檢視git配置資訊

git config --list

git指令:全局設定使用者名郵箱配置

2、檢視git使用者名

git config user.name

git指令:全局設定使用者名郵箱配置

3、檢視郵箱配置

git config user.email

git指令:全局設定使用者名郵箱配置

4、全局配置使用者名

git config --global user.name "nameVal"

git指令:全局設定使用者名郵箱配置

5、全局配置郵箱

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

git指令:全局設定使用者名郵箱配置