设置用户名和邮箱 git config --global user.name “你的用户名” git config --global user.email “你的邮箱” 查看配置 git config --list 修改你的用户名和邮箱 git config --global --replace-all user.name “你的用户名” git config --global --replace-all user.email “你的邮箱”