查看
$ git config user.name 查看用户名
$ git config user.email 查看邮箱
修改
$ git config --global user.name "username" 修改用户名
$ git config --global user.email "email" 修改邮箱
【Git】Git查看或修改用户名和邮箱
最新推荐文章于 2024-04-04 16:12:51 发布
查看
$ git config user.name 查看用户名
$ git config user.email 查看邮箱
修改
$ git config --global user.name "username" 修改用户名
$ git config --global user.email "email" 修改邮箱