git config user.name 查看当前用户名 git config user.email 查看当前邮箱 git config --global user.name "用户名" 切换账号 git config --global user.email "邮箱" 切换邮箱 相关文章: 2021-07-07 2021-11-22 2022-02-07 2022-12-23 2021-12-05 2022-02-09 2021-09-03 2021-10-18