1. 查看自己提交时候的名字和邮箱 $ git config user.name $ git config user.email ** 2. 设置 $ git config --global user.name "name" $ git config --global user.email "mixboot" 修改完毕