安装后设置用户名和邮箱 $ git config --global user.name "Your Name" $ git config --global user.email "email@example.com"