打开Git Bash
查看配置
git config --list
设置用户名和邮箱
$ git config --global user.name "输入你的用户名"
$ git config --global user.email "输入你的邮箱"
修改用户名
$ git config --global --replace-all user.name "输入你的用户名"
打开Git Bash
查看配置
git config --list
设置用户名和邮箱
$ git config --global user.name "输入你的用户名"
$ git config --global user.email "输入你的邮箱"
修改用户名
$ git config --global --replace-all user.name "输入你的用户名"