打開C盤里的 .gitconfig文件
修改當前項目的用戶名和郵箱地址:
git config user.name "username"
git config user.email "email"
修改全局用戶名和郵箱地址:
git config --global user.name "username"
git config --global user.email "email"
查看git用戶名和郵箱地址命令:
git config user.name
git config user.email