Git 查看和修改用户名和邮箱 2021年3月10日2025年6月12日除除发表评论 介绍了如何通过 git config 命令查看和修改 Git 的用户名与邮箱。使用 `git config user.name` 和 `git config user.email` 查看当前配置,通过 `git config --global user.name "your name"` 和 `git config --global user.email "your email"` 修改全局用户名和邮箱。