设置 Git 提交的用户名:git config --global user.name "你的用户名" 设置 Git 提交的邮箱地址:git config --global user.email "你的邮箱地址"